3 ms·
I was a little angry with my browser so that was meant to be an insult. JS (not node) is usable for embedded coding. An example would be http://www.espruino.co
by kartD 10y ago
I was a little angry with my browser so that was meant to be an insult.
JS (not node) is usable for embedded coding. An example would be http://www.espruino.com/ http://www.espruino.com/. Newer boards that come on Kickstarter typically support JS since it's a great intro language for coding especially for kids.
- tracker1 10y agoIt's funny, but I like JS a lot, still think that Python is probably a better learning language... there's enough sharp edges in JS, that I don't think it's great for starting with, other than it's accessible, and combined with a browser, close to instant gratification.
- endgame 10y agoTeaching JS to kids? Let's hook Dijkstra up to a dynamo, he'll be spinning in his grave fast enough!
- kartD 10y agoI think it's great in the sense that you can easily make apps, games etc. which is good for getting kids interested quickly. Once their hooked, we can push them to some of the "better" languages.
- pvdebbe 10y agoAs long as Python actively refuses to support real constants among some other immutability related features, I think the more recent versions of JS are going to get past Python in sheer elegance of code.
- tracker1 10y agoI'm inclined to agree to some extent... I think that JS can be beautiful and intuitive. However, I've seen too many instances of the following. var bazCopy = []; for (var i=0; i<bar.baz.length; i++) { var orig = bar.baz[i]; bazCopy[i] = { fizz: orig.fiz, buzz: orig.buzz }; } parentCopy.baz = bazCopy; Over map/reduce/filter, and the like... Sometimes doing code reviews on pull requests is exhausting.