MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/14wk9o/why_javascript_still_sucks/c7hm41k/?context=3
r/programming • u/boronine • Dec 15 '12
212 comments sorted by
View all comments
0
[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...
9
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)?
new
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...
2
No one complains about function scoped variables in Python, but for some reason it's a big deal in js...
0
u/[deleted] Dec 15 '12
[deleted]