this post was submitted on 11 Feb 2025
936 points (96.8% liked)

Programmer Humor

20499 readers
1347 users here now

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

founded 2 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 14 points 2 days ago (4 children)

Am I The only one that sees the tie as yellow in this photo?

[–] [email protected] 8 points 2 days ago
[–] [email protected] 3 points 2 days ago

I see sprinkles of orange.

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

Yes. It’s clearly red.

load more comments (1 replies)
[–] ramjambamalam 61 points 2 days ago* (last edited 2 days ago) (3 children)
  • Push directly to master, not main
  • No command line args, just change the global const and recompile
  • No env vars either
  • Port numbers only go up to 5280, the number of feet in a mile
  • All auth is just a password; tokens are minority developers, not auth, and usernames are identity politics
  • No hashes – it's the gateway drug to fentanyl
  • No imports. INTERNAL DEVELOPERS FIRST
  • Exceptions are now illegal and therefore won't occur, so no need to check for them
  • SOAP/XML APIs only
  • No support for external machines. If it's good enough for my machine, it's good enough for yours.
[–] [email protected] 16 points 2 days ago

Exceptions are now illegal and therefore won't occur, so no need to check for them

Ah, I see you've met C++ developers.

[–] [email protected] 7 points 2 days ago

No command line args, just change the global const and recompile

Nah, don't use global variables, magic values everywhere. And don't use const whatsoever, we need to move fast and break things, we can't let something immutable stop us

load more comments (1 replies)
[–] [email protected] 53 points 3 days ago (2 children)

Main branches will be renamed Master

[–] [email protected] 21 points 3 days ago (1 children)
load more comments (1 replies)
load more comments (1 replies)
[–] [email protected] 76 points 3 days ago (1 children)

reverting main back to master

[–] [email protected] 32 points 3 days ago (2 children)

Yeah...this one is sadly on brand

[–] [email protected] 45 points 3 days ago (15 children)

Sadly? Master branch never implied the existence of a slave branch. It was one of the dumbest pieces of woke incursion into tech.

[–] [email protected] 23 points 3 days ago

It was kind of pointless, but at least it made software work with custom default branches.

[–] [email protected] 21 points 3 days ago (3 children)

Yes exactly. It’s a reference to the recording industry’s practice of calling the final version of an album the “master” which gets sent for duplication.

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

That's just not true. It originally came from Bitkeeper's terminology, which had a master branch and slave branches.

load more comments (3 replies)
load more comments (2 replies)
load more comments (13 replies)
load more comments (1 replies)
[–] [email protected] 86 points 3 days ago (5 children)

Git default branch renamed back from main to master

[–] [email protected] 43 points 3 days ago (1 children)

and all the others start with "slave/"

[–] [email protected] 7 points 2 days ago

Merge me senpai

[–] [email protected] 4 points 2 days ago

That shit was INCREDIBLY dumb

It comes from the old records industry.

Also, guys, let me rush to my university to tell them they're extremely racist to enroll me in a "Master's" program.in fucking Iran.

[–] [email protected] 11 points 3 days ago

(Someone else made it but I can't find the source)

load more comments (2 replies)
[–] [email protected] 8 points 2 days ago

I don't get why only four of these are jokes

[–] [email protected] 22 points 3 days ago

MAGA - Make Assembly Great Again

[–] [email protected] 25 points 3 days ago (4 children)

Error handling should only be with "if"

Variable names must be generic and similar to each-other

Debugging is only done with prints

Version numbers must be incoherent, hard to order correctly, contain letters and jump in ways that don't align with the updates done.

load more comments (4 replies)
[–] [email protected] 31 points 3 days ago* (last edited 3 days ago) (11 children)

GTFOH with that. 1-indexed arrays?! You monster.

(Mostly joking... Ok, somewhat joking :P )

[–] [email protected] 37 points 3 days ago (4 children)
[–] [email protected] 48 points 3 days ago (5 children)

Lua had been banned from the chat

[–] [email protected] 19 points 3 days ago (4 children)

In Lua all arrays are just dictionaries with integer keys, a[0] will work just fine. It's just that all built-in functions will expect arrays that start with index 1.

[–] [email protected] 13 points 3 days ago

Your argument isn't making me any happier - it just fills me with more rage.

load more comments (3 replies)
load more comments (4 replies)
load more comments (3 replies)
load more comments (10 replies)
[–] [email protected] 3 points 2 days ago (1 children)

Implying the orange fella has any say in programming language design and general tech conventions

[–] [email protected] 14 points 2 days ago (1 children)

Implying he only makes executive orders about things he has a say in.

[–] [email protected] 1 points 1 day ago

You have a point unfortunately.

[–] [email protected] 19 points 3 days ago (2 children)

From this point on, all arrays are reverse-indexed.

load more comments (2 replies)
[–] [email protected] 24 points 3 days ago

He’s got to be in contact with the CEO of my company, this is trade secret theft if not…

[–] [email protected] 18 points 3 days ago (1 children)

NGL, this kind of form of putting the decisions the monkey-in-charge is making in a way experts in a field will understand, is a very good way to showcase the absurdity.

load more comments (1 replies)
load more comments
view more: next ›