S
18

Hit 500 lines of code on my first project and felt like a god

Started learning Python six weeks ago. Finally finished my first real project yesterday, a simple expense tracker. Counted the lines and it was 503. That number made it real for me because I started not knowing what a variable was. It's probably garbage code but it works. How many lines was your first working project?
2 comments

Log in to join the discussion

Log In
2 Comments
terry_carter15
Devil's advocate here - spaghetti code is actually the best teacher for beginners because you learn why structure matters by living through the chaos. Those 503 lines of pure messy logic force you to debug in ways that clean code never will. Half the devs I know who started with functions from day one still write overengineered garbage, while the spaghetti coders eventually build stuff that actually works.
10
chen.casey
chen.casey15d agoMost Upvoted
Nah I feel you on that garbage code but it works thing. Mine was a to-do list app that did way too much, like 800 lines of pure nonsense with no functions just all in one main loop. But here's the real question I gotta ask - did you actually use functions and classes or did you just write everything in a big block like I did? Because 503 lines of actual structured code vs 503 lines of spaghetti are two completely different flexes.
7