3 ms·
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 me
by amalcon 17y ago
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!"
- cbetz 17y agoIn 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 http://video.yahoo.com/watch/630959/2974197
- ThinkWriteMute 17y agoHehe, on a small note I've never thought of C syntax as a positive note.