12
Just hit 100 lines of code that actually worked on the first try
I was following a Python tutorial last night, building a simple number guessing game. I typed everything out, saved it, and ran the script. No errors. The game started, took my guesses, and told me if I was right or wrong. I sat there staring at the terminal for a solid minute. It was only about 100 lines total, but for me, that's a huge win. Before this, I'd get maybe 10 lines in and hit a syntax error or a typo that would take me an hour to find. This time, I went slow and double-checked every colon and indent. It felt like a real turning point, like the basics are finally starting to stick. Has anyone else had a small win like this that made you feel like you're getting it?
2 comments
Log in to join the discussion
Log In2 Comments
dylan_thompson16d ago
Going slow and checking each line was the key for me too. That first clean run feels like magic, like the language finally makes sense.
2
morgan91516d ago
Honestly that method sounds like a total grind though. Maybe getting something to run, even with bugs, is more important than perfect lines from the start. That first clean run might feel good, but so does finally fixing a messy program that actually does something. Just banging your head on each line can kill the fun of building stuff.
8