Re:The JavaScript Problem
by Aardwolf on Sunday April 27, 2014 @06:00AM
(#7654542)
> verbose function syntax
I didn't agree with that one myself. I mean, ok, now we have C++11 and can just type [](){} for inline lambda functions, but before C++11 you needed a huge amount of boilerplate to pass a function to something. JavaScript's way to just type "function something" inline was so non-verbose and convenient compared to that.
So what is it being compared to instead here? Functional programming languages?
I didn't agree with that one myself. I mean, ok, now we have C++11 and can just type [](){} for inline lambda functions, but before C++11 you needed a huge amount of boilerplate to pass a function to something. JavaScript's way to just type "function something" inline was so non-verbose and convenient compared to that.
So what is it being compared to instead here? Functional programming languages?