this post was submitted on 19 Feb 2025
824 points (99.2% liked)

Programmer Humor

20739 readers
248 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
 
(page 2) 50 comments
sorted by: hot top controversial new old
[–] affiliate@lemmy.world 7 points 3 days ago (1 children)

i will never forgive them for making the pointer type be T* instead of &T. most confusing thing ever.

don’t even get me started on C++ making T& the reference type and then making T&& be something other than the double reference type.

[–] xthexder@l.sw0.com 5 points 3 days ago

I always thought T&& made sense as a movable reference. In order to move something, you need to change where the reference points, so conceptually you need a reference to the original reference to update it. (Effectively a double reference)

[–] ms5K8oWx@programming.dev 9 points 4 days ago

It's called java.

[–] darklamer@lemmy.dbzer0.com 9 points 4 days ago

I'll just leave this here, "An Introduction to German for ABAP/4 Programmer" (SAP):

https://aix1.uottawa.ca/~weinberg/sap-germ.html

[–] jaybone@lemmy.world 8 points 4 days ago (1 children)

Why is main capitalized but not printf???

If they are trying to follow German rules where nouns are capitalized, I guess this explains why their version of int would be capitalized, but that’s super annoying. Maybe C# is based on this.

[–] rooroo@feddit.org 6 points 4 days ago (2 children)

And then why is Ganz in caps. I call cap on German C.

[–] wischi@programming.dev 6 points 4 days ago* (last edited 4 days ago) (3 children)

Could be because Ganz is short for Ganzzahl and a noun.

load more comments (3 replies)
load more comments (1 replies)
[–] morrowind@lemmy.ml 8 points 4 days ago

Oh? You want composit(ion)? Over inheritance maybe?

[–] loaf@sh.itjust.works 6 points 4 days ago
[–] graff@lemm.ee 2 points 3 days ago
[–] LovableSidekick@lemmy.world 2 points 3 days ago

I'll be darned, VBA is still a thing. I used to be pretty decent at it but haven't thought about it in years.

load more comments
view more: ‹ prev next ›