The difference between Chinese programmers and other programmers

zhaozj2021-02-16  62

The difference between Chinese programmers and other programmers occasionally, an article is about China programmers and Japanese programmers compare code. It is very interesting. This should send it to the forum, but only few people will participate in discussions. , Publish it to the document center. The following is a code written by Japanese programmers and Chinese programmers for the same function, and look at the development document of Japanese programmers and China programmers. What is wrong? Discuss discussion: JAPAN: Dim gridItemIndex As Integer 'comment Dim currentPageIndex As Integer' comment Dim pageSize As Integer 'comment gridItemIndex = e.Item.ItemIndex currentPageIndex = meisaiIchiran.CurrentPageIndex pageSize = meisaiIchiran.PageSize Dim updateDataRowIndex As Integer' comment updateDataRowIndex = (currentPageIndex * pageSize) gridItemIndex dt.Rows (updateDataRowIndex) .Item (t.BindFldName) = txt CHINA: dt.Rows (.CurrentPageIndex * .PageSize e.Item.ItemIndex) .Item (t.BindFldName) = txt more The code is from PConline. For these codes, I mean no longer discuss who is better. The writing methods of these two codes can be different from one side reaction, and our national software industry and other national software industry. The place. In the face of the status quo of the Chinese software industry, we know that it does have a lot of problems, there are a lot of articles on discussing this topic on 9CBS, so let us continue our topic, let us review us, discover our own Insufficient and gaps, for our national software industry, for our own.

@ 2004.5.26 17:40

NCMOC comment

Whether you don't talk about this code first, let's talk about an actual problem:

How to make money, how to get money, how do we write?

You call me three days to complete, just look at the results, good, no problem, I use the second

You let me write a standard, give an Indian, giving the Japanese, well, I use the first.

However, if you discard this, let's take a look at the code, we will find:

The execution speed of the first paragraph code is faster than the second. (Do not believe you to debug, big DO 100000 Loop Run TMD once)

The maintenance of the code of the first paragraph is absolutely better than the second. If the small repair is small, the first code will become changed in the defined area. (Ctrl F is easy to find where you want to change). If it is the second code to change, ok, no problem. You find a night (you have to ask you, when this code has been written, there is no night, you will find it to come out).

The first code is absolutely relieved. At least in the Guoan Bureau check.

Others don't want to say it. Leave you to speak.

From: http://dev.9cbs.net/develop/Article/28/28005.shtm

转载请注明原文地址:https://www.9cbs.com/read-16135.html

New Post(0)