|
|
|
|
|
by ColinWright
4049 days ago
|
|
My background seems to be significantly different from most people here - what you've written there is something I'd like to learn about, but have no idea where to start. I've copied your code, hit "F12" in Firefox, but where do I paste it? Where/how does it run? How can I learn the basics of this stuff without wading through the mindless tutorials intended for people who have never coded? For reference, I've written safety-critical real-time embedded systems in assembler and C, and these days I write number-theory and expert systems code in Python. Where can I start that doesn't patronise me to death? |
|
It gives a good review of javascript syntax, goes over the intricacies of the loose typing system and variable scope, covers some detail on avoiding memory leaks and some browser specifics (which I think are probably out of date; I didn't review it thoroughly I was playing Minecraft at the time) and gets up to anonymous functions and closures.
Aside: Incidentally if someone would like to explain closures to me I'd appreciate it - I don't really understand them.
Code Academy's [2] javascript looks very basic but Code School [3] seems to have better beginner stuff - I've done their git/jQuery courses before and they were quite well done.
HTH.
[1] https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re...
[2] Avoid for javascript, very basic: http://www.codecademy.com/courses/getting-started-v2/0/1?cur...
[3] https://www.codeschool.com/courses/javascript-best-practices