91 points

I always feel like my code is the best in personal projects when I don’t need to conform to whatever style and architecture has been decided on by history and committee.

permalink
report
reply
65 points

For me it’s always, “this is hacky as shit, but it works, and nobody will ever see it but me.”

permalink
report
parent
reply
10 points

My most arcane pieces of code (abusing null references to make the garbage collector handle object deletion kind of cursed) are usually posted publicly somewhere… If it works and all that.

permalink
report
parent
reply
13 points

Was gonna say, 1st and 2nd should be switched

permalink
report
parent
reply
59 points

Gotta review the 5 line PR ten times just to make absolutely totally sure there’s nothing wrong with it before submitting it.

permalink
report
reply
37 points

And then notice the spelling error.

permalink
report
parent
reply
23 points

My spelling errors only come into existence after I commit.

permalink
report
parent
reply
6 points

Just another free PR ;)

permalink
report
parent
reply
5 points

Instant commit --amend + push --force

permalink
report
parent
reply
6 points

Prefer --force-with-lease. It doesn’t make a difference in this scenario, but it’s a safer habit/default.

permalink
report
parent
reply
3 points

Don’t want to be the cause of a CVE now, do we?

permalink
report
parent
reply
34 points

I have never contributed to an open source project before, so if we exclude the third part this is the reverse of my habits. The stuff I do for work is bare minimum garbage, I freely admit. I really do not like my employer.

permalink
report
reply
23 points

Aaand here’s why production software is so damn buggy. I’m not faulting you personally, just your employer.

permalink
report
parent
reply
33 points

Nobody can see this -> some people can see this -> anybody can see this

permalink
report
reply
1 point

Perfectly described!

permalink
report
parent
reply
21 points

I’ll be honest with ya pal, all 3 of em are pic 1 for the most part

permalink
report
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 6.6K

    Monthly active users

  • 988

    Posts

  • 38K

    Comments