News for hackers. Stuff that matters.
Re:Why It’s a Good Idea to Be a JavaScript Developer, and Wh... by hipsters_unite on Monday December 16, 2013 @10:20AM (#6915199)
In all fairness though, it's very easy to bash JS, but the anonymous functions etc., that are really core to the language are pretty powerful. I used to hate it a lot more than I do now, but one day I realized that apart from its more patchy areas (no strftime, what?), it actually covers off a lot of coding styles and patterns you need in order to get stuff done.
Re:Why It’s a Good Idea to Be a JavaScript Developer, and Wh... by cognivore on Monday December 16, 2013 @12:15PM (#6916139)
Functions being first class citizens are all JavaScript really has going for it (that and a captive audience), and any new web oriented language could incorporate that as well as improvements over JavaScript's awful everything else.

Not that JavaScript isn't useful - it is, and it does allow you to get things done. But imagine the uncountable number of man years that have been wasted coping with JavaScript when it's clearly obvious that something better would have made our jobs a lot easier.

Re:Why It’s a Good Idea to Be a JavaScript Developer, and Wh... by hipsters_unite on Tuesday December 17, 2013 @03:35AM (#6920129)
Yeah true, I think you've hit the nail on the head - much as I sometimes wish something like Python were the standard instead, the lambda functions are fiddly (even if the list comprehensions are great).