Debugging 101: Because Your Code Sucks (But It's Okay)
Bug Squashing
You've got bugs, we've got fixes. Well, more like, I've got bugs, but I'll try to squish 'em for ya.
Step 1: Panic (Optional)
- Throw your keyboard across the room.
- Stare at the screen for a few hours, trying to comprehend the error message.
- Realize you have no idea what it means.
Step 2: Panic (Required)
- Search for answers on Google, while simultaneously searching for a cure for your existential dread.
- Post on Stack Overflow, hoping someone with a pulse will notice your genius.
- Beg for help on Reddit, promising to buy them all the pizza they want.
Continue to Step 3: Cuss at the Debugger (But Not Too Loudly)
Proceed to Step 4: Call in the Professionals (i.e., Your Mom)
Go straight to Step 5: Give Up and Eat a Sandwich (Optional but Highly Recommended)