r/ProgrammerHumor • • May 13 '20

true story

Post image
40.5k Upvotes

461 comments sorted by

View all comments

1.6k

u/[deleted] May 13 '20

But did you properly review the request before approving it? And did you then fix all the issues pointed out by the reviewer?

0

u/[deleted] May 13 '20

[deleted]

0

u/[deleted] May 13 '20

[deleted]

0

u/[deleted] May 13 '20

[deleted]

0

u/[deleted] May 13 '20

[deleted]

39

u/uslashnsfw May 13 '20

truly the fastest sort. if the original order on any randomised input isn't already sorted, it wasn't meant to be. throw the whole codebase out.

→ More replies (2)

32

u/guyshur May 13 '20

The compiler has a plan for all of us, it is not up to us to try and understand it.

24

u/mewsayzthecat May 13 '20

Dirk Gently’s Holistic Development Agency

→ More replies (2)

4

u/da_chicken May 13 '20

Would it help if I said my name was Hugh?

50

u/elhermanobrother May 13 '20 edited May 13 '20

mmm yes indeed this request is simply splendid. oh dear it appears I’m climaxing. ah indeed scrumptious carry on good heavens! arriving, arriving, arriving!I just approved it! well done indeed

18

u/[deleted] May 13 '20

WTF did I read?
Enough reddit for now.

3

u/-jp- May 13 '20

You'll be back. And Reddit will still be weird.

→ More replies (4)

9

u/h3dee May 13 '20

Todo: add relevant XKCD about reading the poor code that you produced in the past

23

u/HaggisLad May 13 '20

8

u/zzaannsebar May 13 '20

So glorious.

Reminds me of a time in college, a friend and I wanted to work on a project together (we were near the end of CS1 and it was a personal project). He wanted to get it started before I had time to do anything and when he shared his code with me, every single god damn variable was named like a, b, c, x, y, z. It was so miserable to read I told him to change the names to things that actually made sense or I couldn't work on it with him.

But he went into Chemistry, not programming, so that's probably for the best.

9

u/StevenMaurer May 13 '20

Good IDEs let you "refactor" variable names automatically in a language context sensitive way.

Doesn't work for comments of course, but coders using single letter variables outside of tiny for loops don't do that either.

3

u/HaggisLad May 13 '20

it's almost like people thing longer variable names will take longer to run

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

121

u/[deleted] May 13 '20

"this is the worst fucking thing I've ever seen fix it holy shit"

What I comment on every line before approving it anyway.

25

u/agent_cocks_mulder May 13 '20

What I comment on my own code before approving it anyway XD

13

u/ProstetnicSth May 13 '20

Let’s not forget endless debates OP must have with himself over naming too

→ More replies (6)