I worked with one of the authors of the Brazilian SQL. It was exactly what it looks, every reserved word translated to Brazilian Portuguese.
Oh shit, I’d never get anything done, as I’d imagine my lovely friend’s accent reading this shit out.
Selecione * de tbl_minha-tabela onde nome não é nulo
Hahaha! I love it!That reminds me, I had to modify a program written in VB once. The guy who created it wrote every table, every column, every view in Portuguese, WITH ACCENTS! It works, we simply have to put everything between brackets, but it doesn’t add anything to clarity. It looks awful and seems pedantic.
I prefer to code by yelling at Chat GPT, copy-pasting to Grok, telling Grok Chat GPT said it couldn’t write cleaner code, then going back and forth between the 2 with fake insults from the other until one declares a Jihad on the other. I think it’s called “vibe coding”.
Pretty sure
druckef
should bedrucked
.printf
meansprint
(to)f
ile. “File” is valid German, but it is non-standard and “Datei” seems to be the preferred form.I could also argue that that
d
should be capitalised, but I’m already overstepping my bounds considering I know very little German.I wouldn’t want to say which should take precedence between C’s preference for all-lowercase keywords and functions and German’s Rule to capitalise all Nouns.
I think
druckef
is correct, thef
meansformat
.fprintf
would bddruckef
orDdruckeF
Are you sure the
f
is supposed to meanfile
and notformat
, as in print a formatted string?Blödsinn. Richtig heißt das “druckefuck”.
Du hast vollkommen Recht :)
Well, you can Code in a real German syntax: https://ddp.im/en/
DDP has the following data types: Zahl (long), Kommazahl (double), Buchstabe (char), Text (string), Wahrheitswert (bool) und Listen (list)
Gottimhimmel, that would drive me crazy, and I’m German.
The code screenshot is pretty nice though. Actual grammar in there, full sentences that “Goethe would be proud of”.
The code screenshot is pretty nice though. Actual grammar in there, full sentences that “Goethe would be proud of”.
The syntax and all these
Wenn
reminds me of Cucumber/GherkinWhy yes I always dreamed of writing code like a full on novel.
The concept of foreign languages in code confuses and frightens me
Why? Programming language isn’t a natural language. In fact, I think not knowing English makes it easier, since you cannot attach any preconceived notions, assumptions, or word order to keywords. I learned some Pascal, Visual Basic and whatever GameMaker used at the time without being fluent in English.
There’s also rost
Foreign? For some these languages are native. Foreign is relative.
(I’m just being pedantic, i understand that relatively to you - and me - this is foreign)
Forget that the real evil is that the first character of Int or Ganz in this case is capitalized
German has a word for it: Substantivgroßschreibung
Quellcodeanglizismussubstastivbeispielersatzgroßschreibungsregel
you need to compile c with a c++ compiler to be able to define macros for keywords iirc. But I did do this once to translate c to my native language, Maltese. It was cursed
Ich will das! 😍 Zurück 0;
Versuche, fangen, aus.
#beinhalte
My German teacher: any usage of the verb 🦵-halten in your essay is a point off.
zurück 0;
What’s wrong with beinhalten?
Handhalten is more romantic.
It doesn’t fit very well in this context, the idea behind “beinhalten” is that the subject “includes” the object (i.e. the object is part of the content of the subject), but the #include command in the C preprocessor isn’t about describing that kind of situation, it’s a command “I want to include one file in another”, a better verb in German for that is “einbinden”. (I realize this isn’t a very good explanation, but I’m a native speaker of German and can tell you that no one would use the verb “beinhalten” in this context.)
The previous commenter’s German teacher likely prefers “enthalten” instead of “beinhalten”, which has the same problem in this context though.
Overuse and lack of elegance, in her opinion.
We still loved her though.
Maybe incorrect rebracketing? It’s supposed to be be-inhalten, not bein-halten. Otherwise maybe a writing style thing…
Most fucked up thing here is
<type> <name> {
I must be old because I remember that as being the standard form until Java popularized
<visibility> <static?> <type> <name> {
I mean I’m not that old, but I was reading more C and C++ books and tutorials when I was a kid, because “ew Java”
Das ist K&R C, du Banause!
Ich verklage Brian Kernighan und Dennis Ritchie auf Schmerzensgeld.
sí has entered the chat
Flashbacks to programming a Siemens PLC. That was on a “portable” PG with a CRT screen.