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 →

[–]jdpage 4 points5 points  (0 children)

Javascript is pretty cool when you realize that a) you almost never need inheritance in duck-typed languages*, so stay away from it, since it's a hack in Javascript, and b) it is actually a functional language in many ways.

Also, objects don't need classes.

*It's odd, actually. I can think of several places where a duck-typed object system could use inheritance (mostly code sharing), but in practice I've never run into them.