this post was submitted on 04 Nov 2023
430 points (95.0% liked)

Programmer Humor

32572 readers
155 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] HiddenLayer5@lemmy.ml 6 points 1 year ago* (last edited 1 year ago) (2 children)

Wouldn't it be easy to convert the code to any language if this was the case though? Any human-language programming is already an abstraction, so why can't a programming language be abstracted to more than one human language? Literally just swap the command words out for words in the other language, seems like something modern IDEs can trivially do if a language like that existed.

Also, non-English speaking countries exist. Some have actually developed programming languages in their own language so the idea of non-English programming isn't exactly unheard of. There is no reason that code that won't be edited by English speakers should always be written in English, it's not like it's the one perfect human language for interfacing with computers or anything. So I suspect that should this become a reality, you wouldn't even notice anything's changed unless you live in a non-English speaking country. Either way your company can still always just require code to be in English, the same way companies have requirements for formatting and software design philosophies.

[–] PelicanPersuader@beehaw.org 6 points 1 year ago (1 children)

All code should be written in Esperanto, the international auxillary language!

[–] HiddenLayer5@lemmy.ml 6 points 1 year ago* (last edited 1 year ago) (1 children)

I prefer Klingon. I's a more threatening language which keeps the computer in line.

[–] milkjug@lemmy.wildfyre.dev 3 points 1 year ago

Black speech all the way. I believe the hellfire of Mt. Doom will cleanse all bugs, and I will die on this volcano so fight me on it.

[–] TangledHyphae@lemmy.world 3 points 1 year ago

Not particularly, because compilers rely on very explicit syntax to parse. And languages are all structured very differently grammatically speaking.