8
Just hit 10,000 lines of code on my first real project and I'm shook
I've been teaching myself Python for about 6 months now, mostly messing around with small scripts and tutorials. But I decided to build this little app that helps me sort out my monthly bills and track spending. I use it every day now, tweaking stuff here and there. Yesterday I checked the line count and it was over 10,000 lines. That number blew my mind because I never thought I'd write that much stuff that actually works. It's not perfect or pretty code, but it does what I need and I understand every part of it. Has anyone else hit a random milestone like this with a personal project that just happened without planning?
3 comments
Log in to join the discussion
Log In3 Comments
samreed13d ago
Honestly that 10k line milestone is wild and I get why you're shook but the real flex is you understand every part of it. That's way harder than just writing a bunch of random code that half works. I had a similar thing happen with this little script I wrote to rename my music files because iTunes kept messing up the tags. Started as maybe 100 lines of simple stuff then I kept adding features like fixing album art and removing duplicates and before I knew it I had like 7000 lines of pure spaghetti code. The worst part was I named the main function "do_the_thing" and never changed it so every time I opened that file I had to laugh at myself. But honestly that messy personal project taught me more than any tutorial ever did because I actually had to figure out what went wrong when stuff broke.
7
carr.luna13d ago
You ever go back and look at your early code and just cringe but also feel kinda proud? That moment when I stopped trying to make everything perfect and just focused on making stuff work is when I actually started learning.
3
10k lines is wild but what's even crazier is you probably wrote like 3k lines of actual logic and the rest is just formatting, comments, and that one function you rewrote seven times before you got it right. I've got a spreadsheet tracker I've been updating for years that's maybe 500 rows of real work and the rest is just me color coding cells at 2am. Your app sounds way more legit than my color coded mess.
1