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

Programmer Humor

20703 readers
2605 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] 6 points 12 hours ago (1 children)

I want a programming language that supports German composite words.

My brother in Turing, that's just camel case.

[–] [email protected] 2 points 11 hours ago* (last edited 11 hours ago)

But you could go further. I want to be able to define an Auto and a Bahn, then immediately be able to go

new AutoBahn()
[–] [email protected] 3 points 11 hours ago
[–] [email protected] 3 points 11 hours ago

POV: ESL programmers

[–] [email protected] 4 points 15 hours ago

Spring JPA Query methods are kind of like the composite words. You just declare a method with a name that describes the database query you want, and it generates the code and SQL for you.

https://docs.spring.io/spring-data/jpa/reference/jpa/query-methods.html

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

Make enough C macro definitions and you can certainly do that, I did my final project in my high school programming class in the 90's like that, made macros to simulate QBasic syntax and then just wrote it in basic, the end result is the macros converted everything into valid C++ and it compiled fine. Fortunately my teacher for that class was cool, and he was amused by it and since it compiled with no warnings and did what it was supposed to do, I got full marks for it.

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

In college, we had to use Hungarian pseudocode. I still have PTSD from it, especially as the teacher was a psycho that had a meltdown every time her "how do you do fellow kids" moment terribly backfired, most infamously by putting Twilight references into a test (everybody audibly cringed reading the tests).

[–] [email protected] 7 points 22 hours ago (1 children)

Support your teachers trying to be fun, at least it shows they care enough to put in more effort.
Also I'm curious how she managed to slide in Twilight references of all things in a programming class lol

[–] [email protected] 3 points 15 hours ago

Yeah its kinda based lol

[–] [email protected] 24 points 1 day ago (11 children)

French fucking Excel formulas is an abomination and needs to die.

[–] [email protected] 27 points 1 day ago (1 children)

Microsoft should be charged with war crimes for deciding to localize both Formulas AND keyboard shortcuts across the Office Suite.

[–] [email protected] 7 points 1 day ago* (last edited 1 day ago)

THIS SO MUCH THIS, LOCALIZED SHORTCUTS ARE PAINFUL, I CAN NOT FIND WAYS TO FULLY EXPRESS MY HATRED FOR THEM AS SOMEONE WHO HAD TO USE OFFICIE 365 IN PORTUGUESE also btw mnemonic shortcuts were a mistake

[–] [email protected] 10 points 1 day ago (1 children)

I'm am immigrant in Brazil and have to deal with Portuguese excel almost everyday. At least I know my Python and only had to deal with excel to do simple things.

load more comments (1 replies)
load more comments (9 replies)
[–] [email protected] 21 points 1 day ago* (last edited 1 day ago) (1 children)

integer

Was soll der Quatsch denn heißen? Wer ist hier integer? Bei uns heißt das Ganzzahl, verdammt!!1!

*wütende Programmierergeräusche*

[–] [email protected] 2 points 16 hours ago

So wie Menschen, können auch Zahlen integer sein.

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

I want a programming language that supports German style composite words

Java

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

https://github.com/michidk/rost

Aren't you müde from writing Rust programs in English? Do you like saying "scheiße" a lot? Would you like to try something different, in an exotic and funny-sounding language? Would you want to bring some German touch to your programs?

rost (German for Rust) is here to save your day, as it allows you to write Rust programs in German, using German keywords, German function names, German idioms.

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

Finally, a language where CamelCase feels natural

[–] [email protected] 10 points 1 day ago (1 children)
[–] [email protected] 1 points 1 day ago

In German you would write "Kamelkiste", nicht "KamelKiste". This holds true for most Java class names. I begin to see huge potential for evil ...

load more comments (2 replies)
[–] [email protected] 10 points 1 day ago* (last edited 1 day ago)

Whoa, I was expecting just a light joke & was not prepared for this, lolwut.

I use VBA frequently, don't actually speak German, so I'll ofc try this. And none of my code was ever readable (weirdly lewd, but not fully making sense), so that's fine.

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

At least the names are extremely self-documenting. Some of those German variable names are long enough they might even be self-aware!

[–] [email protected] 2 points 11 hours ago

Except, i once encountered the variable HIVZwerg in an abandoned python script I had to maintain and it made me laugh with its absurdity.

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

Yeah, Excel does that, it always fascinated me. It was so weird writing =KDYŽ instead of =IF in Excel. Different times, I guess.

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

Wofür steht 'wd'??? Wochendag oder wie??? GEFEUERT werden muss die Person!

[–] [email protected] 3 points 14 hours ago* (last edited 14 hours ago)

Ei fa "Wochedaach" nadierlich. Wie em de Schnawwel gewachst is.

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

Abor dor Klaus aus Leipzsch saacht das doch so…

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

Seriously, fuck Excel for this. I always hate to look up function names in German.

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

Yes, I also hate it!

The Italian version of Excel had the brilliant idea of translating the MID() function into STRINGA.ESTRAI(), which means "extract string".

Seriously, what the fuck.

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

A key reason English became the preeminent language of scientific and technical communication, and thus the source of keywords in programming languages, is because German (the other candidate) fell out of favour due to the two world wars. So, were it not for Prussian militarism, our programming languages may have instead been based on German (along with most scientific literature being in German).

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

I know there is a programming language called windev, all in French, just in case you want to suffer. I would except a good exception handling mechanism in a French base language.

An example from their website: ` TotalCA est un monétaire = CalculCAMoisEnCours()

SI TotalCA >= 1 250 000 ALORS LIB_Objectif= "Objectif dépassé !" LIB_Objectif.Couleur= VertFoncé

SINON SI TotalCA <= 200 000 ALORS LIB_Objectif= "Objectif non atteint" LIB_Objectif.Couleur= RougeClair FIN

FIN `

load more comments (3 replies)
[–] [email protected] 6 points 1 day ago

Functional programming languages kind of are that way. Just chain together enough map calls

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

I am german and I feel physical pain reading this code

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

silently goes to German GitHub to learn German words

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

My experience with German programming languages is with Siemens PLC's, since the programming language changes together with the IDE when you set the language to German. Looking at Structured Text / Instruction List having U (und) instead of A (and) operator and bunch of other things was interesting.

But IIRC there were also higher programming languages that are in other languages? Wasn't there one for arabic? Was this it: https://github.com/nasser/---/

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