🐞 Debugging

Lesson

🐞 Debugging

Oh no! You’ve got a bug in your code. Things are working they way they’re meant to be, the roof is crashing down and you just want to flip the desk. Aaaaarrrgh!!!

Getting a bug is incredibly frustrating. It’s an error coming from the code you’ve written and now, you have to fix it.

But bugs come in a couple of forms:

  • Obvious bugs, where it is as plain as day something is broken and you know how to fix it. This usually go down to “you typed something in wrong.” Like ReferenceErrors and syntax errors and whatnot. They are easy to fix.
  • Subtle bugs. These are more annoying since you know a function or something isn’t outputting the right value, but you don’t know where it is and how to squeeze it out. Fixing these is more of an art form and less of a science and takes a lot of learning to get right.

Lesson Topics

Quizzes Status

@

Not recently active