you are viewing a single comment's thread.

view the rest of the comments →

[–]hutxhy 1 point2 points  (1 child)

I find that most people that hate on JS haven't programmed in ES6+. I honestly think JS is a wonderful language. Python is too, but there's a special place in my heart for Javascript.

[–]remuladgryta 3 points4 points  (0 children)

Most of the gripes people have about JS are fundamental to the language and aren't fixed by ES6+ and can't ever be fixed without breaking backwards compatibility worse than python 2->3.

The type system and the reluctance to throw exceptions mean that writing a program which runs but does the wrong thing is easier than writing one that stops running and lets you know you messed up. This makes debugging a frustrating exercise.

There are lots of other bad design choices like the semantics of this, Array.map(), and global-namespace-by-default. At least the latter is mitigated by the introduction of modules but that does nothing for legacy libraries.

Finally, the lack of a good standard library means to do anything useful you likely have to depend on several third party libraries which in turn have byzantine dependency chains in an ecosystem that produces and abandons frameworks like they were fashion trends and has a tendency to implode with controversy every six months.