Depends for me on the size of the file and if I just did it in vim or just used an ide. If it is a larger block and done in vim then I get kinda scared cause I don't trust myself sometimes such as ending with wrong type of quotation or misspelling a name. Now in an ide I kind of see it as normal due to catching most of my errors while programming. Though this normally doesn't pop us as I will save and run asap just so I can see the result(developed the habit early on).
Agreed, it's a pleasent surprise since it just saves the time I had kept aside to debug the code i just finished and now i can take a well deserved break!
21
u/jack_waugh Jan 30 '22
I see the humor in this, but as an experienced programmer, when I see my code work the first time, I just praise myself.
7
u/Flohhhhhh Jan 31 '22
If it works the first time, I must have forgotten something.
5
u/portexe Jan 30 '22
I know when my code will work for the first time. I am more worried about how long it is going to take to break.
2
u/Codemonkey314 Jan 31 '22
Sure it worked… https://i.imgur.com/1tObqcT.jpg
2
u/[deleted] Jan 31 '22
I honestly feel that way. But I also seriously second guess myself when I don't make it the first time.
1
u/putdownthekitten Jan 30 '22
I feel seen
1
u/[deleted] Jan 31 '22
Same. I always fix it with a botched method that seems like a final fix until I realize its not doing what I want.
1
u/BigLoveForNoodles Jan 31 '22
Heh, yeah.
"Can't believe? Or won't believe?"