17
Took me 3 months to figure out why my code kept breaking on line 47
I was learning Python from a tutorial that used tabs for indentation. Then I switched to a different tutorial that used spaces, and my whole program started throwing errors. My brain couldn't see the difference at first. It took a full 3 months of copying code wrong before I finally realized I had to match the indentation style. Has anyone else struggled with something as simple as spaces vs tabs?
2 comments
Log in to join the discussion
Log In2 Comments
verawhite26d ago
3 months? Honestly that's kind of impressive in a sad way lol. I spent a whole week once trying to figure out why my CSS wouldn't apply. Turned out I was editing the wrong file the whole time because I named two folders "style" and "styles" like an idiot.
3
hayden14426d ago
@verawhite I once spent two hours debugging a typo in my own name.
4