Do there exist any compilers with localized versions of programming languages?

后端 未结 18 1432
-上瘾入骨i
-上瘾入骨i 2021-01-19 02:22

I have often wondered why it is that non-English speaking programmers are forced to use a different language when programming when it would seem to be so easy to offer an ID

18条回答
  •  耶瑟儿~
    2021-01-19 03:14

    In some cases, keywords aren't even English (though they may vaguely resemble English words): car, cdr, and cons from Lisp; elsif in Perl; printf, fgets, sscanf, and many more from C. I think most languages have at least some keywords that aren't localized even for English speakers.

    Keywords belong to the programming language, not the programmer's (spoken) language.

提交回复
热议问题