3 ms·
"What's so special about Javascript's closure support vs Perl, Python, Ruby, PHP, Lua, C#, Lisp, Erlang, or ${all other functional languages}?" Javascript has
by Hexstream 17y ago
"What's so special about Javascript's closure support vs Perl, Python, Ruby, PHP, Lua, C#, Lisp, Erlang, or ${all other functional languages}?"
Javascript has java-like syntax. Heck, it even bears half the name even if the language has almost nothing to do with Java. Did you know that the first version of Javascript was actually a scheme variant but they decided to conceal its identity so it would appeal to the masses?
It's stupid that a familiar syntax is one of the foremost considerations in the mass adoption of a language, but that's reality for you.
(PS: I'm a Common Lisp fanatic so I'm acutely aware of this syntax problem.)