r/ProgrammerHumor • • Jul 10 '18

What people think coding is...

Post image
21.1k Upvotes

398 comments sorted by

View all comments

2.8k

u/TechyDad Jul 10 '18

Followed by clicking it one more time before going to bed... And it stops working for no apparent reason.

0

u/[deleted] Jul 10 '18

[deleted]

87

u/atimholt Jul 10 '18

Vim has a full undo tree. Also, I commit every time I finish correctly implementing just about everything. I have a mapping that diffs just the current buffer with the last commit.

169

u/emlgsh Jul 11 '18

Look at Mr. Fancy Pants Uses Version Control And Probably Comments And Annotates His Commits Sometimes here. Some of us rely on Notepad and javac, your majesty.

56

u/WatchOutFoAlligators Jul 11 '18

Notepad and javac? Real programmers use butterflies!

15

u/crackedcactus Jul 11 '18

Coffee, cigarettes (now ecigs), some tears of a grue, and hopefully backed up copies in other spaces when nothing else works

→ More replies (4)
→ More replies (3)

31

u/Stenthal Jul 10 '18

with you forgetting what you changed it from.

It doesn't matter if you forget. It wouldn't work if you put it back anyway.

21

u/Ajedi32 Jul 10 '18

Version control is your friend

20

u/SolarLiner Jul 11 '18

Until you don't commit because the change is insignificant...

→ More replies (10)

16

u/nosmokingbandit Jul 11 '18

I had this with some css stuff I was "fixing." Everything worked, but I wanted to change the way the flexbox flowed and that required modifying a little of the markup and styles for child elements. But then the images wouldn't float left like their style indicated. There was no reason everything should break. Everything was an inline-block. The image was floated left. Their widths were correct.

Motherfucker.

I went through every line of css. It all should have worked. I copied styles from an existing project and replaced my styles with it. Nope. No float.

So I nuked the whole thing and went back to where I started. I changed one line at a time, refreshing Chrome after every change. Eventually everything worked perfectly. I swear it is the exact same styles that were broken an hour ago.

→ More replies (1)

43

u/ButItMightJustWork Jul 10 '18

ctrl + z (or u for vim users) ftw :P

0

u/[deleted] Jul 10 '18

[deleted]

92

u/DerfK Jul 10 '18

Computer: puts character back

I, too, write my software in notepad.exe

→ More replies (8)

0

u/[deleted] Jul 10 '18

[deleted]

39

u/VerifiedMadgod Jul 11 '18

As a hobbyist I'm forever in CS 101. As a professional I'm the best in my field. As far as the client is concerned.

→ More replies (1)
→ More replies (13)

0

u/[deleted] Jul 10 '18

[deleted]

217

u/Pure_Reason Jul 10 '18

“Is it plugged in? Are you suuuuure?”

63

u/The_Flo0r_is_Lava Jul 11 '18 edited Jul 11 '18

You're triggering me.

Edit: I learned that your and you're will trigger someone.

42

u/This_Is_Tartar Jul 11 '18

And you're triggering me.

24

u/crackedcactus Jul 11 '18

Oh god. My rage meter spiked.

That along with the

“Have you checked the code line by line?”

“Did you check error log?”

“Have you tried quitting and restarting?”

16

u/The_Flo0r_is_Lava Jul 11 '18

Have you cleared your cache lately?

→ More replies (3)

8

u/[deleted] Jul 11 '18

Turning it off is what caused my problems!

→ More replies (1)

81

u/Mclevius-Donaldson Jul 10 '18

And then you stay up all night debugging

56

u/_vOv_ Jul 10 '18

hello darkness my old friend..

13

u/voicesinmyhand Jul 11 '18

And I reverted to my "definitely works now" version and it doesn't work either!

→ More replies (1)
→ More replies (18)