You don't need a tutorial if it's not your first programming language.
Here's your tutorial:
1) It's basically Lisp. 2) The DOM is like a list, and inside the list are other lists. 3) All Javascript functions just manipulate the lists and the elements in the lists. 4) Really, it just works like Lisp.
Okay, now go find a function reference and you're good to go.
It's not a hard language to pick up, but if you do want a book, you want Doug Crockford's Javascript: The Good Parts.
It assumes you're already a competent programmer and is explicitly not a my-first-language reference. It's also pleasantly up-front about the fact that there are some seriously boneheaded design decisions in JavaScript.
Also, companies that won't hire competent programmers because they haven't already spent two weeks learning whatever that shop's pet language is are short-sighted and dumb. My group at Apple is, unsurprisingly, an Objective C / Cocoa shop. A big chunk of the people we hire don't really know Obj-C, and some have never programmed for the Mac before. Smart people can learn anything.
A good book, although I note with amusement, that while all the JavaScript books at Borders are huge, "JavaScript: The Good Parts" is thinner than the K & R book on C.
Comments 6
Here's your tutorial:
1) It's basically Lisp.
2) The DOM is like a list, and inside the list are other lists.
3) All Javascript functions just manipulate the lists and the elements in the lists.
4) Really, it just works like Lisp.
Okay, now go find a function reference and you're good to go.
Reply
Reply
It assumes you're already a competent programmer and is explicitly not a my-first-language reference. It's also pleasantly up-front about the fact that there are some seriously boneheaded design decisions in JavaScript.
Also, companies that won't hire competent programmers because they haven't already spent two weeks learning whatever that shop's pet language is are short-sighted and dumb. My group at Apple is, unsurprisingly, an Objective C / Cocoa shop. A big chunk of the people we hire don't really know Obj-C, and some have never programmed for the Mac before. Smart people can learn anything.
Reply
Reply
It's weird enough being back on campus, but especially weird being in a building that didn't exist when we were undergrads.
(Also, I think we're hiring.)
Reply
Reply
Leave a comment