4 ms·
Does anybody have a link to some good JavaScript exercises? One answer is "why don't you just try building something" but I personally learn better from progre
by Yhippa 15y ago
Does anybody have a link to some good JavaScript exercises? One answer is "why don't you just try building something" but I personally learn better from progressing through exercises versus doing the "just build anything" or watching videos.
- eurohacker 15y agohavent heard of any
- kenjackson 15y agoRead Eloquent Javascript. Has exercises built into the webpages.
- Apocryphon 15y agoDefinitely a great book. Telling someone to just "build something" seems a bit much. Exploratory learning is good and all, but newbies need structure before they can try walking.
- Taft 15y agoI'm currently learning Python and I can't agree more. There's a lot of macho-IRC-dweller attitude on the internet when it comes to learning a new language. People take the "If you teach a man to fish" argument to the extreme and end up confusing/discouraging people in search of some guide, some map to show them the way. No, documentation doesn't count when you can't read a lick of code. That said, I'm currently reading Learning Python the Hard Way, which pushes you through a lot of information, step-by-step but not patronizing, and teaches you not only code, but how to be organized and on top of your code.
- Apocryphon 15y agoEloquent JavaScript is comparable in that it's a book that has plenty of explanatory code snippets, but plenty of code exercises as well, and isn't a cookbook for web programming, but rather teaches the language for what it is. No jQuery/CoffeeScript stuff here, just straight-up JS as a language.
- nwhitehead 15y agoI just put up an interactive javascript tutorial. It starts simple then builds up to passing around functions, closures, continuations. Give it a try and let me know what you think. http://nathansjslessons.appspot.com/ http://nathansjslessons.appspot.com/
- dave1010uk 15y agoJohn Resig (creator of jQuery) has some great interactive excercises: http://ejohn.org/apps/learn/ http://ejohn.org/apps/learn/
- chernevik 15y agoI am but an egg, but . . . "Test Driven JavaScript Development", Chris Johansen, might serve. Not many exercises, but it walks through some of the core JavaScript principles, using tests as a learning / exploring device. "Here's a test showing how the << this >> keyword works." It also walks through several examples of test driven development, touching on design principles as it goes. It does a great job of walking through the practicalities forcing some design choices, and the implications of the alternatives. I came away from this with a much better grasp of JavaScript, development process, and design principles generally. I don't think I've gotten more from any single book. But I'm a newbie still trying to learn these things. More experienced folks may find the book tiresome.