In fact, Chinese although the number of users is most, it is not very popular in the field of computers. Don't say a piece of Hamka can open a company, even if Chinese is still discriminated against in many ways. The most intimate is that on many websites, there are often Japanese version without Chinese version. Like Sun's website is an example, I don't know that Sun will now cooperate with the Chinese government. This will not be better.
Not far away, about Chinese programming, actually have two levels of meaning, can be handled (input, output, etc.) in Chinese, and the other layer is capable of supporting Chinese on the source code. The first layer of meaning is more discussion, plus I am a programmer, so I want to support Chinese discussions on the source code is more meaningful.
In fact, if the code readability is the most worthy of attention. Then, the application that supports Chinese in the source code should be a natural inflation. I often see the situation of changing the quantity name and class name, this is still good. Sometimes I encounter a dictionary or understanding is not accurate or even a bad mood, I will have a headache after reading the program. "Dao can be said, very well; name, very famous". "Morality" puts the name in the opening, it can be seen the importance of a good name. I think the name represents the understanding of the essence of things, plus software such a thing, most of which is almost created. If there is no good name, it will be difficult to understand. I think the name is three reasons:
1. The name represents the programmer's understanding of the essence of things, and a bad name may mean the concept of concept.
It may be that the programmer is inaccurate to the matter, these things are just accidental, thus can't get a good name, because the boundaries of this thing are blurred; it is also possible to start, but later along with The development of things, this thing has changed, the original name has been reflected in its essence. This time you need to change a more accurate name, but because there is no methodology and tool guarantee, this change is often less easy, so many people will not be willing to do this. Not someone says, just don't move it as long as you work? In addition, there is a problem, that is, it is that the program is controlled by himself, "I" let it like this, it is "me". To certain extent, you can say this, but I prefer to think that the program is a "living", it can control yourself, you can "grow". Or look at another perspective, isn't we like this program because of the user's needs? I mean just wants to say, the program is life, I am used to let the code lead us to the direction of it, don't impose a lot of things on the code. Or can say this, "nothing", give the code "growth".
2, think the name is not important, I have already mentioned above.
3, the understanding is also accurate, and I want to take a good name, but because of the limitations of the language, I can't get a good name.
This is what I want to say. So we have to use Chinese in the source code. That some people say that now the language is mostly supporting Chinese comments, isn't the Chinese comment not OK? For this point of view, please see the discussion in Refactoring, in summary, the conclusion is the first step to advanced language evolution, the number of variable names, method names, etc. in assembly language, is the idea of nature's expression Location, from this point of view, the comment is reversed is by-products, that is, when using the variable name, method name, class name, etc., when using refactoring, it cannot solve the problem when using refactoring.
But Chinese programming is not no problem, the most realistic problem is: the support of the environment. The most basic is to run the environment and compile environments. I live in the Java environment most of the time. I have no support. I remember that I have encountered the case that is WebLogic does not support there in Chinese. Method's name of EJB. In short, it is relatively small in this regard. Ide's support is generally possible, but support for input is generally not good. For example, there is a Chinese method name. If you want to select the Chinese method name in the populated menu, it is very painful. The better way I can think should be like E-language: Impressive "Chinese", just enter "zhongwen" or "zw", or "zhw". But now almost all developments do not support, I think this kind of input method should be supported.