824
top 50 comments
sorted by: hot top controversial new old
[-] SubArcticTundra@lemmy.ml 77 points 1 month ago

Finally, a language where CamelCase feels natural

[-] BuboScandiacus@mander.xyz 15 points 1 month ago
[-] anomnom@sh.itjust.works 6 points 1 month ago

The ruby on rails generators do this sort of magic. It’s fun while you’re using it, but a nightmare to remember how to use on a 10 year old project.

[-] 30p87@feddit.org 69 points 1 month ago

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

[-] AGuyAcrossTheInternet@fedia.io 43 points 1 month ago

Abor dor Klaus aus Leipzsch saacht das doch so…

load more comments (1 replies)
[-] rikudou@lemmings.world 66 points 1 month ago

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

[-] d_k_bo@feddit.org 63 points 1 month ago

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.

[-] codexarcanum@lemmy.dbzer0.com 9 points 1 month ago

PETA isn't going to like all those für loops

[-] jol@discuss.tchncs.de 6 points 1 month ago

Für is short for fuer. The umlauts are tiny "e" on top of the letters

[-] tromars@feddit.org 6 points 1 month ago

That’s how umlauts historically evolved, but nowadays I wouldn‘t say ü short for ue, but its own letter (even though you still can write it as ue if you don’t have it available on your keyboard or whatever)

load more comments (5 replies)
load more comments (1 replies)
[-] lily33@lemm.ee 9 points 1 month ago

Too bad that's based on macros. A full preprocessor could require that all keywords and names in each scope form a prefix code, and then allow us to freely concatenate them.

load more comments (2 replies)
[-] codexarcanum@lemmy.dbzer0.com 32 points 1 month ago

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

load more comments (2 replies)
[-] Lazycog@sopuli.xyz 31 points 1 month ago

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/---/

[-] Limitless_screaming@kbin.earth 13 points 1 month ago

There's also Alef, which I thought was the only Arabic programming language 'till now.

Edit: after searching around, there seems to be lots of Arabic scripting and programming languages, most are discontinued:

load more comments (4 replies)
[-] FrostyCaveman@lemm.ee 6 points 1 month ago

Of course.. even an Arabic programming language has a recursive acronym name

[-] AllNewTypeFace@leminal.space 30 points 1 month ago

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 (6 replies)
[-] Ephera@lemmy.ml 29 points 1 month ago

I want a programming language that supports German style composite words

Java

[-] kotg@lemmy.world 25 points 1 month ago

I am german and I feel physical pain reading this code

[-] fibojoly@sh.itjust.works 25 points 1 month ago

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

[-] LiveLM@lemmy.zip 27 points 1 month ago

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

[-] protogen420 7 points 1 month ago* (last edited 1 month 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

[-] driving_crooner@lemmy.eco.br 10 points 1 month ago* (last edited 1 month ago)

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

Edit: all my scripts end with pd.to_excel() tho

load more comments (1 replies)
[-] boonhet@lemm.ee 6 points 1 month ago

I hear the French usually program in French as well. I do not want to ever work in France.

load more comments (5 replies)
load more comments (5 replies)
[-] arschfidel@discuss.tchncs.de 22 points 1 month ago* (last edited 1 month ago)

integer

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

*wütende Programmierergeräusche*

load more comments (2 replies)
[-] bzah@discuss.tchncs.de 19 points 1 month ago

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)
[-] ZILtoid1991@lemmy.world 18 points 1 month ago

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).

[-] QuazarOmega@lemy.lol 8 points 1 month ago

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

load more comments (1 replies)
[-] Maggoty@lemmy.world 13 points 1 month ago

silently goes to German GitHub to learn German words

[-] Taewyth@jlai.lu 12 points 1 month ago

I want a programming language that supports German composite words.

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

load more comments (1 replies)
[-] cupcakezealot 12 points 1 month ago

I know this is a joke but it's still wild to me that programming languages aren't localised.

[-] loutr@sh.itjust.works 39 points 1 month ago* (last edited 1 month ago)

The VBA part of the meme is real, VBA is (was?) localized. Turns out it's a horrible idea: some keywords are badly translated, some are not translated at all. Googling localized error messages is useless, so you need to guess the original error message from the translation. Want to copy/paste a function from SO? Not so fast, you need to translate the keywords first! And the variable names as well while you're at it.

Ironically, you end up spending a lot of time on translation-related issues. I've worked on a french-VBA app, and it was a miserable experience (well, even more miserable than english VBA).

load more comments (1 replies)
[-] MonkderVierte@lemmy.ml 17 points 1 month ago

Want to make my job harder? Because that's how you make my job harder.

[-] Dekkia@this.doesnotcut.it 9 points 1 month ago

I guess it would make it way more complicated to use other peoples code if that where the case.

[-] nebeker@programming.dev 7 points 1 month ago

Industrial controls equipment made by German companies can be programmed in English or German. You can also switch languages (German/English) at any time and the IDE switches over all the keywords.

load more comments (11 replies)
[-] marcos@lemmy.world 6 points 1 month ago

You think that about math not being localized too?

[-] d_k_bo@feddit.org 7 points 1 month ago

There are some local differences in math notation, e.g. . vs. , as a decimal separator, vs. × for multiplication, : vs ÷ for division et cetera.

load more comments (1 replies)
[-] calcopiritus@lemmy.world 6 points 1 month ago

Considering that using a keyword to name anything results in compiler (or worse! Interpreter) errors, and that libraries are a thing. And also that copy-pasting code from the internet is a thing. I don't think it would be a good idea to localize programming languages.

[-] Evil_Shrubbery@lemm.ee 10 points 1 month ago* (last edited 1 month 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.

[-] darklamer@lemmy.dbzer0.com 9 points 1 month ago

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

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

[-] pleasejustdie@lemmy.world 9 points 1 month 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.

[-] ms5K8oWx@programming.dev 8 points 1 month ago

It's called java.

[-] morrowind@lemmy.ml 8 points 1 month ago

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

[-] affiliate@lemmy.world 7 points 1 month ago

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.

load more comments (1 replies)
[-] jaybone@lemmy.world 7 points 1 month ago

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 1 month ago

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

load more comments (1 replies)
[-] loaf@sh.itjust.works 6 points 1 month ago
[-] AlexWIWA@lemmy.ml 6 points 1 month ago

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

load more comments
view more: next ›
this post was submitted on 19 Feb 2025
824 points (100.0% liked)

Programmer Humor

22262 readers
678 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