MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/tejbc/javascript_the_good_parts/c4m440d/?context=9999
r/programming • u/sheldonpooper • May 09 '12
159 comments sorted by
View all comments
21
Old, and wouldn't this be true of every language?
9 u/yogthos May 09 '12 There is the principle of least astonishment, and JavaScript is one of the worst languages in that regard. 4 u/[deleted] May 09 '12 In what way? 2 u/munificent May 09 '12 ASI. 3 u/masklinn May 09 '12 edited May 09 '12 ASI is nothing compared to the way this behaves (or doesn't, mostly) in JS . 1 u/munificent May 09 '12 Yeah, but at least there's an underlying logic and some value behind this semantics. ASI is just busted.
9
There is the principle of least astonishment, and JavaScript is one of the worst languages in that regard.
4 u/[deleted] May 09 '12 In what way? 2 u/munificent May 09 '12 ASI. 3 u/masklinn May 09 '12 edited May 09 '12 ASI is nothing compared to the way this behaves (or doesn't, mostly) in JS . 1 u/munificent May 09 '12 Yeah, but at least there's an underlying logic and some value behind this semantics. ASI is just busted.
4
In what way?
2 u/munificent May 09 '12 ASI. 3 u/masklinn May 09 '12 edited May 09 '12 ASI is nothing compared to the way this behaves (or doesn't, mostly) in JS . 1 u/munificent May 09 '12 Yeah, but at least there's an underlying logic and some value behind this semantics. ASI is just busted.
2
ASI.
3 u/masklinn May 09 '12 edited May 09 '12 ASI is nothing compared to the way this behaves (or doesn't, mostly) in JS . 1 u/munificent May 09 '12 Yeah, but at least there's an underlying logic and some value behind this semantics. ASI is just busted.
3
ASI is nothing compared to the way this behaves (or doesn't, mostly) in JS .
this
1 u/munificent May 09 '12 Yeah, but at least there's an underlying logic and some value behind this semantics. ASI is just busted.
1
Yeah, but at least there's an underlying logic and some value behind this semantics. ASI is just busted.
21
u/[deleted] May 09 '12
Old, and wouldn't this be true of every language?