Pages Navigation Menu

Software Mastery, the Fun Way

Most Recent Articles

We’ve teamed up with O’Reilly to develop a Manager’s Guide to Design Patterns

Posted by on Jun 15, 2015 in Beginner's Mind, Blog | 1 comment

We’ve just finished a cool project with O’Reilly: a short manager’s guide to design patterns. Here’s the idea: create a guide that gives you the gist of design patterns, enough to remind you of what they are all...

Read More

Coming soon to JavaScript: arrow functions

Posted by on Jun 12, 2015 in Beginner's Mind, Blog | 1 comment

JavaScript isn’t the first language to use first class functions, but it’s likely the language that made them popular. Java, Objective C, C#, C++, Python… these are all languages that did not have first class functions until recently. Once JavaScript became one of the world’s most popular programming languages, other language designers realized just how useful first class functions really are, and have added first class functions to the languages mentioned above, as well as newer languages like Swift and Go.

Read More

Coming soon to JavaScript: block scope with let

Posted by on Mar 26, 2015 in Beginner's Mind, Blog | 0 comments

In my previous post, I experimented with the new const keyword which you can use to create constants in JavaScript. Along with var and const, we’ll soon have a third way to declare values in JavaScript: the let keyword.

Like var, you’ll use let to create variables (not constants). You might be wondering why we need two ways to create variables. Well, let differs from var in one very important way: let is scoped differently from var. Let’s take a closer look at what that means.

Read More

Coming soon to JavaScript: constants

Posted by on Feb 18, 2015 in Beginner's Mind, Blog | 0 comments

In programming you can assign values to variables. In some languages, you can also assign values to constants. What’s the difference? The values of variables can vary (which is why they’re called variables), but the values of constants can’t. In other words, you can change the value of a variable all you want, but once you’ve assigned an initial value to a constant, you can’t change it again. Its
value stays constant.

Read More

Reader Question about this

Posted by on Jul 23, 2014 in Blog, Featured, Reader Question | 2 comments

I got another great question from a Head First JavaScript Programming reader this week, about how to keep track of this in your code when you’re passing a method reference to another function. This is a fairly common situation in JavaScript coding, so read on to find out more…

Read More

Head First Design Patterns

Posted by on Jul 1, 2014 in Books, Featured | 17 comments

Updated in 2014 for Java 8. It’s been ten years since Eric and I wrote our first Head First book, Head First Design Patterns. Ten years! Wow, time flies by. To celebrate the tenth anniversary of the book, we just wrapped up a special 10th anniversary edition of the book.

Read More

Dos and Don’ts in JavaScript

Posted by on May 28, 2014 in Blog, Video | 0 comments

A few best practices for when you’re learning the language With every...

Read More

A new mantra for your next (programming) meditation session

Posted by on May 21, 2014 in Blog, Video | 0 comments

Or, What it really means when people say “Everything in JavaScript is an...

Read More

I just slipped on a banana peel named “this”

Posted by on May 14, 2014 in Blog, Video | 0 comments

In JavaScript, the special variable this is used to refer an object. But which...

Read More

What is that upside-down tree doing in my browser?

Posted by on May 7, 2014 in Blog, Video | 0 comments

The secret to getting your web pages to do your bidding with code is to use...

Read More

Wait, where is my variable defined?

Posted by on May 5, 2014 in Blog, Video | 0 comments

Whether you’re coming to JavaScript from another language, or you’re learning JavaScript as your first language, the way scope works — that is, when and where your variables are defined — might surprise you. Scope in JavaScript isn’t always intuitive, and it’s easy to make some simple mistakes that can cause your code to work in unexpected ways.

Read More

Using the browser console to experiment with and test your JavaScript code

Posted by on Mar 26, 2014 in Blog, Video | 6 comments

In Head First JavaScript Programming, we use the developer console in the...

Read More

Become an Insider, for FREE.

Join WickedlySmart for early access to tips, videos and new chapters.