When Things Go Wrong

Let’s put our hacker hats on and try to break some functions.

Although it’s easy to do something wrong with JavaScript functions, it’s not always easy to figure out what you did wrong. The most common mistakes that programmers make generate weird errors. Let’s take a look so that you’ll be better prepared.

Hack, Don’t Crack

images/callout-icons/warning.png

Don’t worry! We won’t really break anything. Breaking something would be cracking, not hacking. Hacking is a good thing. You’ll often hear nonprogrammers using the word hack wrongly. Since you’re a programmer now, you need to know what the word means and how to use it correctly. Hacking means that we are ...

Get 3D Game Programming for Kids now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.