Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Truly multi-lingual programming languages?

I realize most languages support multiple languages, but every language I've seen has always been more-or-less US-centric. By that, I mean the keywords, standard library functions, etc. all have english names. So, as a programmer, you still really need to know at least some english to make sense of it.

Are there any truly "multi-lingual" languages out there with support for language keywords and such in multiple languages?

like image 769
Eric Petroelje Avatar asked Mar 20 '09 19:03

Eric Petroelje


People also ask

What is the best multipurpose programming language?

Python. Python undoubtedly tops the list. It is commonly thought of as the best programming language to learn first because it is very approachable. It is a fast, easy-to-use, and easy-to-deploy programming language that is widely used to develop scalable web applications.

What are the multipurpose programming language?

According to a study, C, Python, and Java were the most commonly used programming languages in 2021 respectively. One argument in favor of using general purpose programming languages over domain specific languages is that more people will be familiar with these languages, overcoming the need to learn a new language.

What is the most versatile programming language?

Python is powerful, flexible, and incredibly versatile. It's also user-friendly, intuitive, enables rapid development times, and it's easy to learn—no wonder it's one of the world's most popular programming languages!

What is the most intuitive coding language?

Programmer's Intuition Similarly to the easiest language to learn, HTML topped programmer's lists when it came to the most intuitive languages.


3 Answers

This is generally a horrible idea, as anyone who's worked in a localized IDE can attest to. Programmers rely heavily on having one common vocabulary. When the compiler gives me the error "missing type specifier - int assumed", I can share this exact error message with others, for example here on SO, and it will be familiar to those others so they can tell me what it means. If the compiler instead generated error messages in Danish, I'd be limited to getting help from the relatively few programmers who speak Danish.

Suddenly my vocabulary is no longer the same as someone in the same position in Germany, France or Japan. We can no longer exchange code, bugs, bug fixes or ideas.

A developer in Spain wouldn't be able to use my code because it was literally written in another language. And if I had trouble with my code, others would be helpless to debug it, because it wouldn't even compile under their localization settings (and if it did, it'd still be unreadable to them).

Ultimately, a programming language is a language. It may have borrowed some words from English, but it is not English, and you do not need to understand English to program in it, any more than I need to understand latin in order to speak English (English borrows latin words as well).

You might as well ask for a multi-lingual English. What would be the point? Yes, it would in theory allow people who didn't speak English to... speak English. It just wouldn't be the same English as every other English-speaker speaks, so it wouldn't actually enable communication between them.

The keyword if in a programming language is not the same as if in the English language. They mean different things, even though one was obviously inspired by the other.

The delegate keyword in C# does not mean the same thing as "delegate" in English. Nor does while, return or "constructor". They are not english words, they are keywords or concepts in C++, Java, C#, Python or any other programming language.

like image 139
jalf Avatar answered Oct 13 '22 22:10

jalf


Sounds like a bad idea to me. If I'm writing a program, how am I to know that the variable name I'm typing is actually a keyword in Bulgarian or Korean as transliterated? Do I have to deal with thousands of keywords, or do I have problems combining two routines written by my Swedish and Egyptian colleagues?

Just realize that programming keywords are in English, just like music keywords are in Italian.

like image 20
David Thornley Avatar answered Oct 13 '22 23:10

David Thornley


This seems like a good place to start: Non-English-based programming languages.

There's a few interesting ones on there, like Python translated to Chinese.

like image 25
Chad Birch Avatar answered Oct 13 '22 22:10

Chad Birch