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

后端 未结 18 1250
-上瘾入骨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 02:56

    In most programming languages, keywords are reserved, so they can't be used for variable names etc.

    Now suppose the keywords changed every time you changed culture - code written in one culture couldn't be ported to another without changing identifiers. Ick. Furthermore, when anyone copied their code onto a question forum like this, we'd no longer be speaking the same language, as it were.

    There are distinct advantages to only having one culture in the programming language itself...

提交回复
热议问题