News for hackers. Stuff that matters.
Re:Why JavaScript Will Become the Dominant Programming Langu... by elorant on Monday September 02, 2013 @01:19PM (#6316064)
Try writing anything larger than 10.000 LoC and JavaScript becomes a pain in the ass. No matter how many frameworks will appear unless there are fundamental changes in the language I don't see it making it to the enterprise.
Re:Why JavaScript Will Become the Dominant Programming Langu... by cldr on Monday September 02, 2013 @01:35PM (#6316144)
TypeScript really helps with this.
Re:Why JavaScript Will Become the Dominant Programming Langu... by camus on Monday September 02, 2013 @02:15PM (#6316353)
Enough with Typescript. using a transpiler doesnt make the language better.
Re:Why JavaScript Will Become the Dominant Programming Langu... by kalms on Monday September 02, 2013 @03:55PM (#6316823)
Why is it worse than using, say Objective-C to improve C? Genuinely curious here.
Re:Why JavaScript Will Become the Dominant Programming Langu... by WalterSear on Monday September 02, 2013 @02:54PM (#6316525)
What kind of changes?
Re:Why JavaScript Will Become the Dominant Programming Langu... by elorant on Monday September 02, 2013 @03:33PM (#6316713)
Obfuscation to name one. I don't see any enterprise moving to a platform where you can't protect your code from prying eyes. Although it's not inherently a language problem per se, (it could be solved by browser technology) it would help a lot if the language could be compiled.
Re:Why JavaScript Will Become the Dominant Programming Langu... by ramblerman on Tuesday September 03, 2013 @02:55AM (#6319425)
We are talking about backend javascript, arguably javascript is already the top front-end enterprise language.

So browser technology has nothing to do with it. Furthermore, Java can be decompiled in a format that is eaiser to read than explicitly obfusciated javascript.

Re:Why JavaScript Will Become the Dominant Programming Langu... by kalms on Monday September 02, 2013 @03:50PM (#6316801)
I haven't used it, but I've heard a lot of good things about the Closure compiler: https://developers.google.com/closure/compiler/

Seems like it scratches that particular itch.

Re:Why JavaScript Will Become the Dominant Programming Langu... by WalterSear on Monday September 02, 2013 @04:57PM (#6317150)
FWIW, also available as a grunt service:

https://github.com/gmarty/grunt-closure-compiler