Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

What is the level of this code written by a foreign programmer?


Jun 02, 2021 Article blog



Although writing code doesn't cross national boundaries, the habits and levels at which Chinese and foreign programmers write code are really different. S ome netizens shared a piece of code, said to have been written by a Japanese programmer. Code written for the same function is very different from what Chinese programmers and Japanese programmers write.

This code written by a Japanese programmer:

 What is the level of this code written by a foreign programmer?1

Code written by Chinese programmers:

 What is the level of this code written by a foreign programmer?2

Regarding the code written by Chinese programmers and Japanese programmers, some people say that programming should not only be efficient, but also easy for others to understand and easy to fight in groups. /b10>This code written by a Chinese programmer pays more attention to personal skills, and it takes a little time if others come to see the program. A nd although the code is short, the running time does not shorten. I f it were a group-to-group collaboration, it might slow down. The main advantage of this code, which can be written by anyone, is simplicity.

And the Japanese programmers wrote this code, pay more attention to the collective consciousness. I t's convenient for others to look at the code. A lthough this code is long, it does not affect the program runtime. A pparently, the Japanese programmers who wrote this code were trained. B ecause only trained programmers know the benefits of this code. Because this code is more understandable and easy to modify.

 What is the level of this code written by a foreign programmer?3

But there are also those who disagree, arguing that Japan pays for it on a line basis, so the code written by programmers is more sloppy. N ot only that, but the code written by Chinese programmers is significantly clearer than that written by Japanese programmers. This code written by Japanese programmers can be used as a hair textbook.

In fact, the environment is not the same, the education is not the same, the Chinese and Japanese programmers write the code is not the same is also normal. A nd two programmers, can not represent all levels of Chinese and Japanese programmers, absolutely can not say which country is more. Any country has great programmers and bad programmers.