8
Learned Python by building a calculator wrong for 3 weeks straight
Last month in Austin I spent 21 days debugging a calculator that only broke when dividing by zero, and honestly that failure taught me more about error handling than any tutorial ever did - has anyone else learned more from breaking stuff than from getting it right the first time?
2 comments
Log in to join the discussion
Log In2 Comments
noahw539d agoTop Commenter
Totally feel you on this. I spent a whole weekend trying to fix a loop that just kept printing the same number over and over because I forgot to increment the counter. It was frustrating at the time but now I can spot infinite loops from a mile away lol. The weird bugs always stick with you way more than the clean wins. Breaking stuff is the best teacher honestly.
5