The advantages of Chinese language programming

Source: Internet
Author: User

Original site: https://zhuanlan.zhihu.com/p/31162122

From: Wu Yu: Why does the country not create a great programming language?

In the above answer, elaborated the Chinese people to create the English programming language and the promotion difficulty. Summarized as follows:

    • Language designers who are native speakers of Chinese have no obvious advantage in grammatical design when creating English programming languages, compared to native English speakers.
    • The existing English programming language has already covered the main application field in the hard function, which is also a reason many people say that creating new (Chinese) language is not necessary.
    • It is not impossible to compete on performance and language features, but even if it pioneered attractive features, it is likely to lose its edge by absorbing similar features in other occupied languages before gathering enough users and the development community.
    • The creation of English programming language is almost inevitably the choice of writing code in English, and this is the most likely to participate in the development of domestic developers (reasons for the use of Chinese names in the code query and response "against non-Chinese programmer Contributions" section) is a test

Corresponding, the creation of Chinese grammar programming language has the following advantages:

    • Compared with the native English-speaking programming language designer, the grammatical design has the absolute superiority. And in no space design, you can and other similar languages (Japan, Korea, etc.) language designers have technical exchanges (Related: Japanese programming language "Fu Zi"-the third edition of features)
    • It is possible to secure enough users in all areas of application. The reason for self-evident is that if the two programming languages are similar in function and sustainability (such as with open source community support), one is Chinese grammar and the other is English grammar, domestic users will almost certainly prefer the former. Even in the case of gaps in functionality, there is more patience and interest in trying the former.
    • The Chinese grammar is a feature that is sufficiently different from all English programming languages. And their culture (localization) is almost impossible to achieve the natural level of the original Chinese programming language. Even if the Chinese grammar is only for the existing language of the keywords to Chinese, this advantage still exists (the selection of keywords).
    • The Chinese programming language is good for writing code in Chinese, and if it is open source, it will be attractive for domestic developers (the subject of Chinese programming language users) to contribute.

By the way, list the known open source Chinese programming language projects (in no particular order). There will be omissions, welcome to add!

    • To the existing language of the keyword Chinese:
      • Modify the Clang compiler to add Chinese keywords
      • Modify the Python3 compiler to add Chinese keywords
      • Modify the Typescript compiler to add Chinese keywords and APIs
      • Add Chinese keywords to gcc
      • Zhou Python
      • The Python
    • Chinese programming language
      • Z Language Third Edition-Tkt2016/zlanguage3
      • Roundsheep/rpp
      • Classical Perl

The advantages of Chinese language programming

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.