r/ProgrammerHumor • • 27d ago • Bravo 4 Popcorn 2

Meme spanishProgrammingLanguage

Post image
18k Upvotes

111 comments sorted by

110

u/myhv 27d ago

(import) donde está la biblioteca?

61

u/Apprehensive_Bit7392 27d ago

#include <biblioteca.h>

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

18

u/Ok_Confusion4764 26d ago

La_araña(discotheca);

13

u/Apprehensive_Bit7392 26d ago

discoteca("muñeca");

biblioteca();

6

u/Acceptable-Stick-688 26d ago

#include <list>

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

25

u/4b534d 26d ago

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

7

u/laplongejr 26d ago

I think it's a long time since I did laugh that loud at my job, very high character-per-laugh efficiency here!

564

u/MinecraftPlayer799 27d ago • Mindblown

Si mas mas

150

u/riotinareasouthwest 26d ago • Bravo

Si plas plas

41

u/TaimMeich 26d ago

kinky...

12

u/Percolator2020 26d ago

2

u/TheFrenchSavage 23d ago

Manuel! Los pointeros in the basura! La segmentation esta faulta. En la basura for god's sake!

187

u/srfreak 27d ago

I'm gonna break the joke...

There is one called Latino.

92

u/Water1498 27d ago

What a miss not calling it Latin-io

10

u/srfreak 27d ago

True, what a missing joke xD

2

u/Sexy_McSexypants 26d ago

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

79

u/mackaber 26d ago

62

u/OrienasJura 26d ago

There's actually a language called Sí lmao

33

u/WindpowerGuy 26d ago

And it's a translation of Spanish to C++

7

u/GoddammitDontShootMe 26d ago

It's funny because it sounds the same as C, but what the fuck kind of name is Yes for a language?

4

u/BanaTibor 25d ago

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

2

u/GoddammitDontShootMe 25d 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 26d ago

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

2

u/Apprehensive-Wind966 26d 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 26d 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 26d 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] 26d ago

[deleted] — view deleted comment

4

u/Weary-Designer9542 26d 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 26d ago edited 26d 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 26d ago edited 26d 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 26d 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 26d 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 26d 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 26d ago edited 26d 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 26d ago

[citation needed]

2

u/wjandrea 26d ago edited 26d 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

36

u/no7rix 26d ago

Conio.h 😂

5

u/Key_River7180 26d ago

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

3

u/VisiblePlatform6704 26d ago

Es que es de Yucatán

18

u/migarma 27d ago

Ñ++

18

u/Percolator2020 26d 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"))

4

u/Little_Duckling 26d ago

Make it stop! Make it stoooopppp

15

u/LEPT0N 26d 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.

19

u/zajo_throwaway 26d 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 26d 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 26d 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/[deleted] 26d ago

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

6

u/EishLekker 26d ago

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

2

u/Decapitated_Unicorn 25d 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.

2

u/Sarcastic-Potato 24d 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/[deleted] 24d ago

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

2

u/Polendri 26d 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.

2

u/LEPT0N 25d ago

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

1

u/Maleficent_Memory831 26d ago

Have you tried APL?

1

u/namitynamenamey 25d 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.

0

u/tropicbrownthunder 26d 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

11

u/stupled 27d ago

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

9

u/ZeroSobel 26d ago

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

8

u/Vanadium_Milk 26d ago

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

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

2

u/Ingenrollsroyce 26d ago

Can I use this for work?

3

u/Vanadium_Milk 26d ago

Absolutely 

7

u/Bot1K 27d ago

Chavoscript

15

u/Careful-Assistant481 27d ago

Hola World(); , lol

8

u/DamperBritches 26d ago

Hola Mundo

17

u/ViralToValue 27d ago

*¡Hola mundo!

7

u/backfire10z 27d ago

impreso(“¡Hola Mundo!”)

9

u/Prior_Tax8546 26d ago

imprimir("¡Hola Mundo!")

3

u/Trucoto 26d ago

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

4

u/Wise_Swordfish4865 26d ago

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

3

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

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

https://github.com/Erawaa/MessiScriptInterpreter

2

u/JSS-Studios 26d ago

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

2

u/reads_lily83 26d 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

2

u/gojGAMES 26d ago

A note, yes in Spanish is sí, with the little accent marker. Si, on the other hand, means if, which feels fitting

2

u/SuitableDragonfly 27d ago

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

1

u/Dhruv_Malaviya 27d ago

Bro said sí and added one more 💀

1

u/danielgd 27d ago

There were spanish translations of Logo.

1

u/JoaoEB 27d 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 26d ago

"Si", no "Se"

1

u/JoaoEB 26d ago

Right, mixed Spanish with Portuguese.

1

u/urbanek2525 26d ago

What about?

SI {} OTRA SI {} OTRA {} CERRADO

Not a native speaker but I think it's close. C isn't strict English either.

4

u/DeadProfessor 26d ago

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

1

u/spekt50 26d ago

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

1

u/Bull_6969696969 26d ago

Lo Siento Wilson

1

u/saraseitor 26d 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/Lah_A 26d ago

Good one😂😂😭😭

1

u/AnDanDan 26d ago

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

1

u/Dairunt 26d ago

BÁSICO

1

u/Lannok-Sarin 26d ago

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

1

u/MaximusHomerdrive 26d ago

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

1

u/PedanticSatiation 26d ago

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

1

u/FishermanNext555 26d ago

*returns nada

1

u/el_bosteador 26d ago

Ce mas mas

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

1

u/engineear-ache 26d ago

structured quieres language

1

u/thehotshotpilot 26d ago

Holy Si (If Terry Davis was Latino) 

1

u/StickFigureFan 25d ago

Si mas mas?

0

u/[deleted] 26d ago

Sissi