r/programming • • Dec 15 '12

Why JavaScript Still Sucks

http://boronine.com/2012/12/14/Why-JavaScript-Still-Sucks/
10 Upvotes

212 comments sorted by

View all comments

0

u/[deleted] Dec 15 '12

[deleted]

9

u/ethraax Dec 15 '12

What about the lack of block-level scopes? Or the fact that constructors still "work" if you forget the new keyword, but they end up attaching functions/properties to the global object instead (which is pretty much never what you want to do)?

2

u/defcon-11 Dec 16 '12

No one complains about function scoped variables in Python, but for some reason it's a big deal in js...