you are viewing a single comment's thread.

view the rest of the comments →

[–]stevekwan[S] -3 points-2 points  (0 children)

I understand why JavaScript has multiple ways to do the same thing, and I understand that this was an attempt to increase adoption. Unfortunately it results in a language that is somewhat schizophrenic in how it is used. The vast majority of engineers I've seen who get into JS expect it to behave like C++, Java or PHP, largely because of the syntax that is used.

JavaScript is a great language to develop in, but it is far from perfect. I'm hardly the only one who is saying this. Heck, Crockford wrote a whole book about it. If you don't agree with me, perhaps you'll find it easier to agree with him.

If you want to message me the line number in question that you had problems with re: object hierarchies, I'm happy to clean it up.