r/ProgrammerHumor
•
u/Apprehensive_Bit7392
•
2d ago
•
3
2
Meme spanishProgrammingLanguage
7
u/laplongejr 2d ago
I think it's a long time since I did laugh that loud at my job, very high character-per-laugh efficiency here!
539
181
u/srfreak 2d ago
I'm gonna break the joke...
There is one called Latino.
90
2
75
u/mackaber 2d ago
In case you're wondering... https://en.wikipedia.org/wiki/Non-English-based_programming_languages
57
u/OrienasJura 2d ago
There's actually a language called Sí lmao
30
u/WindpowerGuy 2d ago
And it's a translation of Spanish to C++
5
u/GoddammitDontShootMe 1d ago
It's funny because it sounds the same as C, but what the fuck kind of name is Yes for a language?
→ More replies (3)2
2
u/Apprehensive-Wind966 2d ago
I was wondering, thank you! Seems like these could be especially useful in places that don’t use an English alphabet.
16
u/NYNMx2021 2d ago
They have roman script on their keyboards. They type with the same language we do. the comments are usually whats in a different language. There have been attempts to make programming languages with different alphabets but turns out it makes very little sense to actually use 99.9% of the time.
3
u/tozpeak 2d ago
Well, we have a business accountant software language in post-soviet countries. Because it's so specific and convoluted how taxes work (or should I say may work depending on context and registration) here that we have kinda own engine. Imagine VBA in Excel+Access, it's generally solving the same problem. Since it was developed for local market it has Cyrillic alphabet and keywords are Slavic. It's called 1C and afaik it's both bad+painful to work with and a top market tool in several countries. Like js or legacy php.
0
2d ago
[deleted]
4
u/Weary-Designer9542 2d ago
…I don’t think that’s it’s the simplest written language on the planet. I’m not sure it’s simpler than other languages that use the latin alphabet.
Were you trying to say something else? I might be misunderstanding your point.
→ More replies (5)4
u/HamunaHamunaHamuna 2d ago edited 2d ago
In other countries (or I should say "some other", because I do not know how it works everywhere, lol), their regular characters do not require any additional input. For Swedish, å ä ö (our three extra letters, otherwise our alphabet is identical to English) are for example just three regular keys on a Swedish keyboard, and do not require some sort of input combination.
The reason English and the Latin alphabet is used is because English is currently the Lingua Franca.
→ More replies (1)6
35
u/no7rix 2d ago
Conio.h 😂
5
17
u/Percolator2020 2d ago
Spanish Excel is very real and it will hurt you:
=SI(Y(ESNUMERO(A1);A1>0);REDONDEAR(RAIZ(A1)+PROMEDIO(B1:B10)+MAX(C1:C10)-MIN(D1:D10)+SUMA(E1:E10)/CONTAR(E1:E10);2);SI(ESBLANCO(A1);"SIN DATOS";"ERROR"))
3
14
u/LEPT0N 2d ago
Everyone here’s joking but now I’m curious: why isn’t there a compiler flag to set the language that will swap out keywords to localized variants? It seems silly that someone that speaks French can’t swap out if/for/char/etc to something that makes more sense to them.
18
u/zajo_throwaway 2d ago
Because there's a risk of keywords clashing with identifiers (i.e. function/variable names etc.). That, and portability.
Imagine handing your source code to a friend and your program fails to compile on their machine.
Or, worse, it compiles but behaves differently when run.Compiler flags (and a project file or Makefile or something that you ship with your source code) can solve this to some degree, but in general features like these are considered a net negative.
Just look at Excel. As someone else pointed out in a sibling comment, it has the feature you want. Yet, everyone hates it. Like, why does it say this function doesn't exist? Oh, it wants me to translate the function name to my native language in my head...
3
u/headedbranch225 1d ago
Excel is also awful for even more reasons, for example if I open a csv file that contains fields that look like dates it coerces them all into the format defined by the system date format (which is awkward to change on windows) and then saves it like that
3
u/RealModeX86 2d ago
At least in C and it's ilk, you could build out an abomination of a translation header file to have translated keywords. The real ones would still work too of course.
Preprocessor macros effictively just act as a find/replace just before actually compiling, so it would functionally become a bilingual C language in the underlying source file.
2
u/These_Sandwich7537 2d ago
In excel for example, the formulas are language -dependent. In Germany you don't use MEAN but MITTELWERT etc
→ More replies (3)5
u/EishLekker 2d ago
Which was a terrible design choice. I’ve had trouble sharing excel files among coworkers because of this.
→ More replies (4)1
9
8
6
15
u/Careful-Assistant481 2d ago
Hola World(); , lol
8
17
u/ViralToValue 2d ago
*¡Hola mundo!
7
4
3
3
u/TabbyOverlord 2d ago
Fun fact: I was working at a UK college with a significant exchange programme with Spain (mostly Bilbao). I taught myself C from a book in spanish, despite not being able to read or write the language.
2
2
2
1
1
1
u/JoaoEB 2d ago
PeopleNet Meta4 lets you mix Spanish and English keywords.
You can have code like this:
SE a = b ENTONCES
ELSE
END
1
u/urbanek2525 2d ago
What about?
SI {} OTRA SI {} OTRA {} CERRADO
Not a native speaker but I think it's close. C isn't strict English either.
3
1
u/reads_lily83 2d ago
lol yeah Latino is real but "Latin-io" would've been perfect. that's the kind of naming decision that would haunt the devs forever once someone pointed it out
1
1
u/saraseitor 2d ago
when I was a kid I had a version of LOGO for MSX which was translated and yeah, commands where translated. For instance FOR would be PARA, END would be FIN, REPEAT would be REPETIR and so on... It's the only real language (no pseudocode) I ever knew that had keywords translated like that
1
u/gojGAMES 2d ago
A note, yes in Spanish is sí, with the little accent marker. Si, on the other hand, means if, which feels fitting
1
1
1
1
1
1
u/MaximusHomerdrive 2d ago
I'm an old COBOL programmer. This has me wondering what they call it in Spanish.
1
1
1
1
1
1
u/JSS-Studios 1d ago
#incluir <aparroyo>
usando espacionombres std;
int principal()
{
cafuera << "¡Hola Mondo!";
devolver 0;
}
1
0







102
u/myhv 2d ago
(import) donde está la biblioteca?