20
Hit 100 lines of code without breaking anything for the first time
After 3 weeks of tiny projects in VS Code, I finally wrote a function that ran clean on the first try and it felt way better than I expected, anyone else get a weird thrill from a bug-free run?
3 comments
Log in to join the discussion
Log In3 Comments
alice_palmer2014d ago
Is it really that deep though? I mean yes it's nice when your code runs clean the first time, but I've had that happen and then realized later I was just lucky with the test case. The real test is when you throw some edge cases at it and then it all blows up.
6
margaret30417d ago
Whoa wait, 100 lines with ZERO bugs on the first try?! That's like hitting a hole in one your first time at mini golf! I've been messing around with Python for a few months now and I still can't get a for loop to work without at least one syntax error sneaking in there. You must have been staring at that green checkmark like it was a winning lottery ticket. Seriously, that clean first run feeling is better than finding a $20 bill in an old jacket pocket.
1
the_ryan17d ago
Right? @margaret304 hit the nail on the head. That first clean run feeling is basically digital crack.
3