4 ms·
> JavaScript has the classic benefits of an incumbent technology. Programmers are familiar with it... This is only from my own experience but I'm consistently
by johnbender 15y ago
> JavaScript has the classic benefits of an incumbent technology. Programmers are familiar with it...
This is only from my own experience but I'm consistently blown away by how little people actually know of JavaScript. Between interviews and looking at samples attached to jQuery Mobile issues all day I get the impression that most people don't know how to use the prototype system at all and generally organize their code as a series of jQuery event bindings.
While this isn't necessarily and endorsement of Dart, I welcome anything that can provide/encourage well-known and sane code reuse patterns.
- ahi 15y agoGuilty. Any recommendations for learning? edit: I have the rhino book. I meant, learning alternatives to organizing my code as a series of jQuery event bindings.
- igorgue 15y agohttps://developer.mozilla.org/en/JavaScript https://developer.mozilla.org/en/JavaScript
- catshirt 15y agohttp://documentcloud.github.com/backbone/ http://documentcloud.github.com/backbone/
- johnbender 15y agoYehuda Katz has a nice article on the prototype system that I generally point people to. http://yehudakatz.com/2011/08/12/understanding-prototypes-in-javascript/ http://yehudakatz.com/2011/08/12/understanding-prototypes-in... And the JavaScript Patterns book is a good read to get an overview of what can be done with just JavaScript. If your application is even remotely complex you'll probably end up using something like backbone or sproutcore which provide constructs for organizing your code anyway.
- dmix 15y agoDouglas Crockford is the best JS teacher I've come across. This video series is excellent (and provides a bit of CS history) http://yuiblog.com/crockford/ http://yuiblog.com/crockford/ Also his book, Javascript: The Good Parts
- jabits 15y agoMy favorite is 'JavaScript Patterns' (http://www.amazon.com/JavaScript-Patterns-Stoyan-Stefanov/dp/0596806752 http://www.amazon.com/JavaScript-Patterns-Stoyan-Stefanov/dp...).
- walkon 15y agoNot an endorsement of Dart at all, considering people who haven't really learned javascript by now are going to be the same people who won't really learn Dart in the future.