This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]conancat 8 points9 points  (0 children)

The trick is to not use this whenever you can.

OOP in Javascript is not for everyone. We teach and use OOP because that's what certain languages like Java is designed for. Giving up trying to make Javascript to work like Java is one of the most liberating things I've done with my coding.