Step 1: Write an Infinite Loop
while (true) { do something; }
Step 2: Add an unending series of nested if statements
if (it's not Tuesday) { if (it's not a leap year) { if (there is a moon) { do something; } } }
Step 3: Use a recursive function to squash all the bugs
Learn more about Magic Squashing!
Step 4: Call an external script to do the squashing for you, because humans can't be trusted
or maybe just call Binary Squashing for a real challenge
Step 5: Give up and call a human, but only if you're feeling masochistic
or maybe Throwaway Squashing for a real adventure
Remember, squashing is a delicate art, so don't mess it up!