O
29

DAE hit 100 lines of code that actually worked and feel like a genius?

I was following a tutorial to build a simple number guessing game in Python. I typed everything out, line by line, for what felt like forever. When I finally ran it, I got an error about a missing colon. I fixed that, ran it again, and got another error about a variable name. This happened maybe five more times. But then, on the next try, the terminal just sat there with a blinking cursor, waiting for my input. The game worked! I counted the lines in my file, and it was exactly 102. That number blew my mind. It wasn't just a few lines in a sandbox. It was a real, tiny program I made from scratch. It made all the frustration of fixing those errors totally worth it. So, what was your first 'it actually works' moment, and how many lines of code was it?
3 comments

Log in to join the discussion

Log In
3 Comments
danielr94
danielr9414d ago
Remember that feeling? It's the best lol. Mine was a dumb little script to rename a bunch of files, maybe 50 lines. Felt like a wizard when it finally ran.
4
jordan_young
Totally get that feeling, man. My first win was a text based adventure that was maybe 80 lines. Spent hours fixing stupid typos, and when it finally ran without crashing I felt like I had unlocked some secret power. That high is what makes you want to keep going even when it gets frustrating later.
3
lee72
lee7222d ago
That feeling wears off pretty fast.
1