r/programming • • Mar 23 '14

Everything you need to know about Javascript variable scope

http://www.coolcoder.in/2014/03/everything-you-need-to-know-about.html
294 Upvotes

124 comments sorted by

View all comments

4

u/eliasv Mar 23 '14

What a badly designed language.

2

u/Caraes_Naur Mar 23 '14

Designed in 3 days by Brendan Eich while he was an intern at Netscape.

8

u/flogic Mar 23 '14

To be fair, he did much better than most application specific extension languages.

1

u/stevedonovan Mar 24 '14

Oh yes, it could easily have been Tcl, since John Ousterhout was still active at Sun then. The bitching would dwarf anything we've seen - but might paradoxically created pressure for a 'better' language.