News for hackers. Stuff that matters.
Re:CommonJS effort sets JavaScript on path for world domination by amalcon on Tuesday December 01, 2009 @03:53PM (#970728)
Why is Javascript your favorite language? What combination of properties does it have that make it special, apart from the ability to run in the browser?

I mean, it's hardly a bad language, but only the browser thing jumps out at me that says "Use this language for this problem!"

Re:CommonJS effort sets JavaScript on path for world domination by cbetz on Tuesday December 01, 2009 @04:44PM (#970832)
In short: * It has C-like syntax with cool features like prototypical inheritance, an excellent object-literal format, first-class functions, and closures. * Everyone knows it (or thinks they do). * There are some really smart people in multiple different camps working on making extremely fast interpreters.

Still skeptical about JS as a general purpose language? Watch Doug Crockford's "Javascript: The Good Parts". If he can't convince you, no one can.

http://video.yahoo.com/watch/630959/2974197

Re:CommonJS effort sets JavaScript on path for world domination by ThinkWriteMute on Wednesday December 02, 2009 @03:07PM (#972780)
Hehe, on a small note I've never thought of C syntax as a positive note.