r/learnjavascript • • Jan 30 '22

Sometimes..

Post image
342 Upvotes

12 comments sorted by

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.

2

u/The_All-Father3 Jan 30 '22

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).

2

u/wyrin Jan 31 '22

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!

0

u/[deleted] Jan 30 '22

[deleted]

1

u/samanime Jan 31 '22

Exactly. I do both images in sequence. First a "woo", then a ".... hmmm".

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/[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/[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?"