Jump to content
Chinese-Forums
  • Sign Up

Are There Any Chinese Programming Languages?


davesgonechina

Recommended Posts

As far as I know, there has never been a programming language (HTML, PHP, C, Java) that solely uses Chinese characters instead of the Latin alphabet. Could there be?

In some ways, a Chinese programming language could be really efficient. I found this posting over at MIT giving some reasons why Chinese might be useful for a recursive language like Scheme. The author points out that, besides being useful for hundreds of millions of Chinese speakers and be a point of pride, but also thinks that radicals and the terseness of Chinese would be rather efficient.

Do you think the Latin alphabet gives a level of flexibility to programming that would be difficult to replicate with Chinese characters, or would this be a non-issue?

Link to comment
Share on other sites

Dont they use a latin keyboard anyways? I thought when you type chinese text you use a special program where you write the word in the pinyin then it shows you the symbol? If so I dont think it would make a differnce, its just going to be a waste of time for the programmer. Correct me if im wrong.

Link to comment
Share on other sites

yeah, QWERTY keyboards and a pinyin converter. I'm not exactly talking about the input method, I'm more curious about whether or not there are structural advantages or disadvantages to using a character based language as opposed to an alphabet based language to create a programming language. While they'd still have to type out pinyin to get a character, you might end up with few lines of code (one character representing something that would take five or six Latin letters) and a Chinese programmer wouldn't have to learn terminology in a foreign language - just terminology in Chinese. That might actually make it faster for them. That's why I'm curious if anyone has ever seen, heard or spoken to any Chinese programmers about this kinda stuff.

Link to comment
Share on other sites

I don't think you can go anywhere with this idea (I mean, from the programming or efficiency point of view). The MIT guys aren't enthusiastic either.

A programming language has a syntax and a semantics. You won't create a new programming paradigm by coming up with a new syntax proposal.

As for syntax itself, I do not see the advantages of using chinese characters. Of course, you could use terse characters in place of several-latin-characters-tokens, but for which benefit ? Program structuration is the important part and I don't see what chinese characters could bring new to it.

Programs are structured, and yes, that's true, chinese characters are structured, but this is not the same kind of structuration. The combinatorics of chinese characters is way less complex. You cannot express an algorithm with a character, therefore in your programming language chinese characters would play the same role as letters or tokens in an english program.

Writing a program with chinese characters in place of english keywords would merely bring builtin program obfuscation for all non-chinese readers, that's it !

Link to comment
Share on other sites

Join the conversation

You can post now and select your username and password later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Click here to reply. Select text to quote.

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...