H
17

Appreciation post: the day my code finally compiled after 3 days of errors

My first real project was a simple calculator in Python. For three straight days, I kept getting syntax errors and logical bugs that made the whole thing crash. I was about to give up and switch to woodworking full time. Then on the fourth morning, I found a missing colon in line 17 and fixed a variable name typo in line 42. The thing ran perfect after that, and I felt like I had just lifted a refrigerator by myself. Has anyone else had a breakthrough moment that simple?
2 comments

Log in to join the discussion

Log In
2 Comments
noahchen
noahchen1d ago
You do realize a missing colon and a typo aren't exactly heroic material, right?
4
angela_coleman
Did you frame that missing colon or are you saving that for your retirement speech? I've never felt more foolish than when my big fix was swapping a comma for a period.
1