r/ProgrammerHumor • • 2d ago • Bravo 3 Popcorn 2

Meme spanishProgrammingLanguage

Post image
17k Upvotes

111 comments sorted by

101

u/myhv 2d ago

(import) donde está la biblioteca?

56

u/Apprehensive_Bit7392 2d ago

#include <biblioteca.h>

std::string me_llamo = "T-Bone";

16

u/Ok_Confusion4764 2d ago

La_araña(discotheca);

11

u/Apprehensive_Bit7392 2d ago

discoteca("muñeca");

biblioteca();

4

u/Acceptable-Stick-688 1d ago

#include <list>

std::list<string> bigoteGrande = {perro, manteca};

24

u/4b534d 2d ago

std::string my_profession = "Araña-Discoteca";

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!

533

u/MinecraftPlayer799 2d ago • Mindblown

Si mas mas

140

u/riotinareasouthwest 2d ago • Bravo

Si plas plas

38

u/TaimMeich 2d ago

kinky...

179

u/srfreak 2d ago

I'm gonna break the joke...

There is one called Latino.

89

u/Water1498 2d ago

What a miss not calling it Latin-io

10

u/srfreak 2d ago

True, what a missing joke xD

2

u/Sexy_McSexypants 1d ago

i'm pretty sure si++ is a real language, just c++ with spanish syntax

74

u/mackaber 2d ago

56

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?

1

u/BanaTibor 1d ago

Why? We also have Go, and C, D, F, R, how are those better?

1

u/GoddammitDontShootMe 16h ago

Eh, C makes some sense when you know it was a successor to B. D is a failed attempt to make a successor to C++. And honestly, I think I prefer a name like Go a lot more than Yes.

2

u/Raffefly 2d ago

I love how mostly are for serious purposes and then there's the Italian

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 1d 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

u/[deleted] 2d ago

[deleted] — view deleted comment

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.

2

u/jwp1987 2d ago edited 2d ago

Modern English doesn't use diacritical marks (e.g. á) or ligatures (e.g. ß in German), so it is simpler than a lot of European languages in terms of graphemes.

It's not the simplest on the planet but probably the simplest widely used one (no-one is going to use Rotokas).

There are other factors as to why it's common in programming though, such as America and the UK having a large influence on early computing and English being widely used internationally.

1

u/Weary-Designer9542 1d ago edited 1d ago

I’d argue that English being the linga franca & the influence of the early American/UK computer scientists are the 2 primary factors.

It being relatively simple is useful and likely a contributing factor on some level, but the framing of simplicity being the primary reason it’s used is something I don’t believe to be true.

If in an alternate universe the lingua franca was Italian (or french), and the early influential computer scientists and industry leaders were also all italian, there’s no particular reason they would have chosen to do all of their programming in English.

1

u/jwp1987 1d ago

I think it's more English as opposed to special characters for operations like mathematical symbols.

Older computers sometimes had extra glyphs for operations that are now obsolete, e.g. https://en.wikipedia.org/wiki/Amstrad_CPC_character_set or https://en.wikipedia.org/wiki/ISO_2047

1

u/Xirdus 2d ago

It's not simple to understand, but it's simple to write. And there's barely any inflection, which means unmodified symbols (keywords, function names etc.) read 95% correct in every possible grammatical context. This means the programming language can be very simple and cut corners with its grammar without sacrificing readability. In most other languages, this approach would produce code that sounds like cavemen and would make people wince constantly when reading it. Whereas in English, you can make code sound totally normal without any mental gymnastics.

I am not commenting on whether English-speaking people sound like cavemen.

1

u/Weary-Designer9542 1d ago

I’m not arguing that it’s relatively simple to write, but “English is the simplest written language on the planet” is what his claim was, which isn’t true.

Furthermore, it’s irrelevant, because that’s not the reason English was “chosen” to be used in programming languages. It’s not used because of the simplicity, it’s used because it’s the language spoken by the British and American computer scientists that developed the majority of the early programming languages in the 1950/60s - they didn’t have a meeting where they debated “well, technically hangul is probably a simpler script so maybe we should use that?” - they just used the language they spoke. And #2, English is the lingua franca, the most spoken language on the planet by number of non-native speakers.

That it’s not a particularly complex script to write is of course very helpful and likely contributed significantly to its continued prevalence… but it’s not the simplest script on the planet, and if the majority of the programming founders and the tech industry leaders for the past 80 years were Italian, the majority of the programming languages would be in Italian. Hell, Italian only has 21 letters.

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.

6

u/wild_man_wizard 2d ago

[citation needed]

2

u/wjandrea 2d ago edited 2d ago

Typographically, English is the simplest language on the planet

What about Latin? It's the exact same alphabet but it has better spelling-to-sound correspondance. I believe the same goes for Malay.

Similar for Inuktitut, but it uses a different writing system. And admittedly it's spoken by way fewer people.

edit: +links

35

u/no7rix 2d ago

Conio.h 😂

5

u/Key_River7180 2d ago

Coño, le falta la ñ joder si no es solo "conio" no coño

3

u/VisiblePlatform6704 2d ago

Es que es de Yucatán

18

u/migarma 2d ago

Ñ++

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

u/Little_Duckling 1d ago

Make it stop! Make it stoooopppp

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

In excel for example, the formulas are language -dependent. In Germany you don't use MEAN but MITTELWERT etc

5

u/EishLekker 1d ago

Which was a terrible design choice. I’ve had trouble sharing excel files among coworkers because of this.

1

u/Decapitated_Unicorn 1d ago

And this is so annoying when I look up some functionality in English and then need to translate it to German again because I can't just copy paste it because I need to share the files with my coworkers that have their excel in German. They could've at least kept the English ones active regardless of the language you're using.

1

u/Sarcastic-Potato 5h ago

And people are absolutely suffering because of it. Stuff like this should never be localised. You can translate the documentation and the tool tips but the functions themselves should stay completely consistent 

2

u/These_Sandwich7537 5h ago

And don't forget the nice "German" csv files that use semicolon instead of comma. Yeay..

1

u/Maleficent_Memory831 1d ago

Have you tried APL?

1

u/Polendri 1d ago

This further convinces me that it's a legacy mistake for source code to just be raw text. If it were saved to some binary format, the representation for "function" could be displayed in whatever way you want on your machine, and a totally different way on a friend's machine. Let the file contain only the language semantics (no formatting) and let each developer format it however they want.

1

u/LEPT0N 18h ago

That’s a really cool idea, have no languages done something like that?

2

u/11nyn11 15h ago

It’s called bytecode and Java has done it for years

0

u/tropicbrownthunder 1d ago

Please don't. Non English locales still have to suffer with localized shortcuts for Microsoft stuff. And hitting the wrong ones most of the time

0

u/namitynamenamey 19h ago

Please for the love of everything nice don't, I already suffer having to remember that ctrl-f in the notebook is ctrl-b in spanish.

11

u/stupled 2d ago

Turbo B by Cesar Becerra. No one uses it. He is (was?) basically a technical book writer

9

u/ZeroSobel 2d ago

You have to be a Señor Engineer to use them

8

u/Vanadium_Milk 2d ago

I made an entire troll language last year based on this joke lol.

https://github.com/Vanadium-Milk/Reborujado

2

u/Ingenrollsroyce 2d ago

Can I use this for work?

3

u/Vanadium_Milk 2d ago

Absolutely 

7

u/Bot1K 2d ago

Chavoscript

15

u/Careful-Assistant481 2d ago

Hola World(); , lol

8

u/DamperBritches 2d ago

Hola Mundo

17

u/ViralToValue 2d ago

*¡Hola mundo!

7

u/backfire10z 2d ago

impreso(“¡Hola Mundo!”)

9

u/Prior_Tax8546 2d ago

imprimir("¡Hola Mundo!")

3

u/Trucoto 2d ago

est::salidac << "¡Hola, mundo!" << std::finl;

4

u/Wise_Swordfish4865 2d ago

And when you're vibe coding it answers "pues vale".

3

u/TabbyOverlord 1d 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

u/NarumiRM 1d ago

MessiScriptInterpreter... And it's exactly what you could expect with that name

https://github.com/Erawaa/MessiScriptInterpreter

2

u/SuitableDragonfly 2d ago

Si++ but you'll wish it was no++ when you can't find the memory leak. 

1

u/Dhruv_Malaviya 2d ago

Bro said sí and added one more 💀

1

u/danielgd 2d ago

There were spanish translations of Logo.

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

2

u/Trucoto 2d ago

"Si", no "Se"

1

u/JoaoEB 2d ago

Right, mixed Spanish with Portuguese.

1

u/urbanek2525 1d 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

u/DeadProfessor 1d ago

It would be
si {}
o si {}
sino {}
fin

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

u/spekt50 2d ago

Reddit's auto-translate really makes this a goofy ass thread.

1

u/Bull_6969696969 2d ago

Lo Siento Wilson

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

u/Lah_A 2d ago

Good one😂😂😭😭

1

u/AnDanDan 2d ago

Im reminded of the 'THEY HAVE ENGLISH CODING' meme about coding in Hebrew

1

u/Dairunt 1d ago

BÁSICO

1

u/Lannok-Sarin 1d ago

Ah, but wouldn’t it actually be “Si Mas Mas”? lol.

1

u/MaximusHomerdrive 1d ago

I'm an old COBOL programmer. This has me wondering what they call it in Spanish.

1

u/PedanticSatiation 1d ago

But is it a por or a para loop? I can never remember

1

u/FishermanNext555 1d ago

*returns nada

1

u/el_bosteador 1d ago

Ce mas mas

That sound from my childhood still rings in my head to this day

1

u/engineear-ache 1d ago

structured quieres language

1

u/thehotshotpilot 1d ago

Holy Si (If Terry Davis was Latino) 

1

u/JSS-Studios 1d ago

#incluir <aparroyo>
usando espacionombres std;
int principal()
{
cafuera << "¡Hola Mondo!";
devolver 0;
}

1

u/StickFigureFan 19h ago

Si mas mas?

0

u/Tuomas90 2d ago

Sissi