S
23

I just hit 100 lines of code that actually WORKED

I've been trying to learn Python for a month, mostly just fixing errors. Yesterday, I wrote a small program to sort my grocery list and add up the cost. It was 100 lines long and ran perfectly the first time. I've never had that happen before. It felt like a real win after so many small fails. Has anyone else had a moment where a bigger chunk of code just clicked?
3 comments

Log in to join the discussion

Log In
3 Comments
torres.mary
Wasn't that first clean run just the best feeling? I remember my first real script was a simple web scraper for weather. It was maybe 80 lines, and when it pulled the data without a single error, I just stared at the screen. It’s like all those little errors finally taught your brain how to see the whole path clearly. That moment is what makes you want to keep going, for sure.
4
the_cameron
the_cameron24d agoMost Upvoted
Absolutely, @torres.mary, that feeling is just perfect. My first real win was a little script that sorted my photo files by date. It ran clean after two days of fixing tiny mistakes, and I just sat back and laughed. You're right, it's like your brain finally clicks and you can see the whole thing from start to finish. That's the exact hook that keeps you coding into the night.
10
perry.evan
perry.evan17d ago
Ever chase that feeling again like @the_cameron did?
6