Learning JavaScript: Week 1

“The art of programming is the skill of controlling complexity.”

Marijn Haverbeke, Eloquent JavaScript

Marijn Haverbeke, Eloquent JavaScript

“Programming is easy like riding a bike. Except the bike is on fire and you’re on fire and everything is on fire and you’re actually in hell.”

@matixmatix

@matixmatix

Week 1 is focused on learning the basics. I’ll be going through the CodeSchool course JavaScript Roadtrip to get my fundamentals firmly established. Granted, I already have a working knowledge of JavaScript, so this should serve simply as a refresher. Once I’ve gone through the first level I’ll come back here and post my thoughts and any particularly interested tidbits I gleaned from the material.

Update 1:

I made it through Part 1 of JavaScript Roadtrip. As expected, it was an extremely basic introduction to JavaScript. You start off by learning about JavaScript’s operators and how to use JavaScript as a basic calculator. From there you learn about strings, and how to concatenate them together. They also show you how to create variables to hold numbers and strings, as well as how to include a JavaScript file in the element. An interesting point they left out (which they might cover in a later video) is the way JavaScript tries to convert two different data types into one. For instance, if you create the following statement:

var string = "One plus one equals " + 2;

JavaScript goes about turning the integer into a string and assigning the entire string to the variable. That’s an important distinction to make. Again, it’s (hopefully) covered in a later video so, I’m not too worried about it at this point.

← Previous Week
Next Week →

Like this article? Sign up to receive exclusive eCommerce news, advice, and industry content.