4 ms·
I have written apps in Dart, CoffeeScript, and JavaScript. CoffeeScript is a definite improvement on JavaScript, but I find it still lacks a lot compared to Dar
by lgunsch 12y ago
I have written apps in Dart, CoffeeScript, and JavaScript. CoffeeScript is a definite improvement on JavaScript, but I find it still lacks a lot compared to Dart. I still hope Dart takes off, and any new language needs at least 10 years to gain any amount of significant support.
I also find that JavaScript developers love their spaghetti code. Bad code proliferates in the JavaScript world. Many may disagree with me, but the empirical evidence does not. Just look at the codebase for any major product, like jQuery for example. I have encountered JavaScript developers with years of experience encourage practice that in any other language would be considered a "hack."
Edit: By this, I mean some JavaScript developers will not like Dart because it's too different and restrictive compared with JavaScript.
- wnevets 12y agocant this be said about any language as popular as javascript?
- lgunsch 12y agoThat depends significantly on the language. All languages have lots of bad code of course, but I think the JavaScript community (and the language) itself promotes bad code. Or, at least un-intentionally fosters it.
- nickik 12y agoTried clojure script?
- lgunsch 12y agoNo, but perhaps I will take a look into it though.
- nailer 12y ago> I also find that JavaScript developers love their spaghetti code. Bad code proliferates in the JavaScript world. Many may disagree with me, but the empirical evidence does not. It's the world's most popular programming language - a lot of people use it hate it (often with good reason, often not - how often have you heard "JavaScript isn't object oriented" from developers who should know better) but don't spend any time learning it. The people who actually seek to learn about JavaScript don't write spaghetti: they have arguments about their preferred flow control mechanisms - the JS world is quite famous, in fact, for this. And they get excited about yield in ES6.