Chapter 6: Debugging for Dummies
Debugging is not just about finding the bug, it's about finding the bug and making it say sorry.
Bug 3: The Mysterious Case of the Missing Semicolon
if (x = 5) {
print("Hello, World!");
} // This is not a bug, but it's a great place to start.
This is a classic case of a missing semicolon. Don't laugh, it happens to the best of us.