25
Hit 10,000 lines of code on my first project and it was a mess
I started learning Python four months ago for a weather data scraper. Last Tuesday I hit 10,000 lines and my code was so tangled I couldn't fix one tiny bug. I spent two full days just untangling it, then realized I should have used functions from the start. Has anyone else hit a big milestone and found their code was way too complicated?
2 comments
Log in to join the discussion
Log In2 Comments
stellaa691mo ago
Oh man, I've totally been there (and honestly still fall into that trap sometimes). It's like when you try to clean out your closet but end up just shoving everything into one big drawer instead of sorting it properly. That messy feeling you got with the code is the same thing that happens with so many things in life we try to just power through without a plan.
8
jackson.matthew1mo ago
23 years ago my cousin tried to "organize" his entire garage in one afternoon. pulled everything out, made three piles, then just shoved it all back in because he ran out of time and his wife was coming home. the thing sat like that for years until he moved out. it's funny how we keep thinking we can outsmart the mess by going fast. but slow and boring always wins eventually.
2