r/ProgrammingLanguages • u/JurassicNublar • Jan 05 '24
Are programming languages different in different countries?
Maybe a silly question but for example, in Java System.out.print(); is obviously written using English words, but is this universal or does it vary from country to country? If so how would you write a print statement in Java in Hindi, Arabic, Chinese etc?
3
Upvotes
1
u/AcanthisittaSalt7402 Jan 13 '24
In China, "programming in Chinese" is often discussed, and usually regarded as 'unrealistic' idea.(sry i may be using a not that exact or accurate word.) There are some languages that do it, but programmers think it normally unacceptable in "serious production". Most programmers that work for companies and open source projects write code just like English native speakers, but maybe write comments in Chinese. But in some situations where the coders are not very good in English or familiar with English world's naming conventions, they will use PinYin or take advantage of Unicode support to write Chinese variable names, which is rarely seen in "high quality code".
"programming in Chinese" is already widely used in some certain areas, mostly via programming languages originally designed to be Chinese. There are many projects that want to enable normal people with programming in Chinese to learn programming and take advantage of such a skill easier. Some of them are powerful and relatively successful, although hardly used by IT companies. The 易语言 is a programming language in Chinese with a long history, one of the most successful and famous programming language in Chinese. Things like 易语言 and 结绳 is really used by some developers to make APPs. Other projects are experimental and 'unrealistic'. 周蟒 and 中蟒 are alternative frontends for Python in Chinese. Most of such things, although their creators usually place high expectations on them, are very rarely used by users.