3 ms·
JavaScript is well designed? Of course, 'well' is not very precise. But considering how fast it was created, how many translate-to-JS languages there are, at be
by Demiurge 11y ago
JavaScript is well designed? Of course, 'well' is not very precise. But considering how fast it was created, how many translate-to-JS languages there are, at best I'd call it 'best possible design in 10 days' (http://www.quora.com/In-which-10-days-of-May-did-Brendan-Eich-write-JavaScript-Mocha-in-1995 http://www.quora.com/In-which-10-days-of-May-did-Brendan-Eic...)
- gear54rus 11y ago> how many translate-to-JS languages there are I'd call it well designed AND most-misunderstood for this very reason. And this 10-day argument really makes me smile every time I see it. You're barely using anything that was designed in 10 days, ES6 is already here and it changed thing a lot.
- Demiurge 11y agoI would call the ability not to be misunderstood a very important design requirement. I'm using ES6, it didn't change almost anything for me. Even the official docs say it is minimalistic improvement, just syntactic sugar. I like the string interpolation, but the class keyword doesn't really do much more than prototype.method =. There isn't really inheritance, super doesn't do what anyone expects, 'this' is not improved. At least 'let' helps with scoping problems.
- Retra 11y agoYou don't find it ironic that you said "most-misunderstood" in a discussion about language, and somehow thought this is a problem worth overlooking?
- gear54rus 11y agoWell its really not a problem of the language if people keep trying to shove their type systems (typescript) or functional syntactic sugar (coffee - some of it made into standards at least) while those understanding it continue to be successful with it.