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

Programmer Humor

20735 readers
1983 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 8 points 3 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.

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

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

[–] [email protected] 6 points 3 days ago* (last edited 3 days ago) (2 children)

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

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

So Nat Fibonacci(Nat n) { ...} ? Because Ganz would be signed int so Nat should be unsigned int?

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

I'd suggest "vorzeichnenbehaftete Ganzzahl" (maybe vbGanz) and "vorzeichenlose Ganzzahl" (vlGanz) 🤣 please don't make that a thing

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

Makes sense but ugh

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

Short for Ganzzahl, like int for integer.