4 ms·
> It doesn't make sense to you, because people are not writing code in English What language are they writing in? What language is C, Python, C++, Java, C#, et
by elfexec 7y ago
> It doesn't make sense to you, because people are not writing code in English
What language are they writing in? What language is C, Python, C++, Java, C#, etc written in? Chinese? Greek? French?
> they are writing code using a set of characters, only some of those characters and some keywords overlap with the English language, namely latin alphabet and those keywords have different distinct meanings, than what they mean in English.
Care to name a keyword which has a different meaning in English? Also, every programming language is written in the american/english alphabet, not the latin alphabet. The old latin alphabet don't have the same letters as the english alphabet.
> People are taught latin alphabet, some keywords and most of the operators you see in programming languages at school in math and physics classes.
That's my point. It's simple. Why not just translate the programming language into their own native language. That way, people who don't know the english alphabet or the language can write code?
> So, how in the world would it benefit anyone to have programming languages with non-latin alphabets?
We already write in non-latin alphabet - the american/english alphabet. And you are missing the point. I'm saying that programming languages should be translated into french, swedish, russian, chinese, etc. Native languages, not necessarily just the script. As you noted, a programming language consists of a few keywords and operators. It's wouldn't be that difficult to translate programming language and code into people's native language.
> It can only make things a) harder to learn, because there is no utilizing familiarity with other fields people already studied
It's simply not true. Imagine if every programming language was in chinese or russian or french. Would it make it easier or harder for me as an native english speaker? It would make it more difficult for sure.
> b) harder to share code and knowledge, because other people in the world can't read and input your non-latin characters.
You can easily translate code. After all, you noted that it is just a few keywords, operators, etc.
Using you logic, no other language should be used other than english. All literature should be in english. All music should be in english. Is that what you are advocating? Imagine what we'd lose in knowledge and culture? Imagine what we are losing because billions of people are not able to program because one language dominates programming.
> By the way, this is the same stupid idea that got people to allow unicode variable names in programming languages.
This should tell you that people should program in their own native languages...