this post was submitted on 25 Jul 2024
383 points (98.5% liked)

Programmer Humor

32410 readers
1840 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 13 comments
sorted by: hot top controversial new old
[–] [email protected] 47 points 3 months ago (3 children)

As someone who has inherited code like that, I would like to strangle the first programmer in the comic.

[–] [email protected] 40 points 3 months ago (1 children)

"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."

[–] [email protected] 9 points 3 months ago

The use of "would have" instead of "will have" is making my eye twitch...

[–] [email protected] 2 points 3 months ago (1 children)

Do you own the company or something?

[–] [email protected] 1 points 3 months ago

Nope, just inherited a colleague's codebase when they left. It's years later and I still haven't sorted it all out.

[–] [email protected] 2 points 3 months ago* (last edited 3 months ago)

you should thank them for the long term employment

[–] [email protected] 25 points 3 months ago

There’s nothing more permanent than a temporary solution.

[–] [email protected] 11 points 3 months ago (1 children)

This is my workplace, but with literally everything, not just code.

[–] [email protected] 7 points 3 months ago (1 children)

Capitalism 101

Gotta make that line go up TODAY

Making it go up tomorrow is the next guy's problem

[–] [email protected] 2 points 3 months ago

It's actually the company's problem. They usually opt to add more debt though, rather that wade through the old stuff.

In the end, all software sucks and should be replaced as soon as possible. Code quality is a lie we tell ourselves so that we can sometimes be proud of our work. It's usually the code we are most proud of that is the worst. Design patterns everywhere making the vode overly convoluted and "future proof". The only future proofing that happens is that no-one will understand it, so they won't change it. Trying to design for the future usually makes it harder in the future.

[–] [email protected] 9 points 3 months ago

Technical debt

[–] [email protected] 8 points 3 months ago

Don't worry I'd post the code on linkedin and credit your profile

[–] [email protected] 3 points 3 months ago

The company being successful probably wasn't doing humanity any favors anyway