Code really is quality over quantity, high quality code, were advocated by the current code, write high quality code certainly need a quite high professionalism, this needs to be in daily code written to absorb gradually master, who is not every day in learning, the purpose is not to a, in order to achieve a certain function to write high quality code.

As a programmer, you want me to write 10,000 lines of code? ! Are you kidding me? (Black question mark face) I guess when I get to 200,000, there’s a question — “Huh? Where’s my hair?”

Figure 0: What it feels like to write a million lines of code as a programmer

A student: EVEN if I write two thousand lines of code, I have to think about the function for two or three days. A million lines of code is really A lot of ah, at most five years, I can only write about 200,000 to 300,000 lines of code. I am still forced to write because I have A task in the body.

Figure 1: What it feels like to write a million lines of code as a programmer

Student B: I think if you write a million lines of code in one job, your status in the company should be considered senior employee. If you write a million lines on a project, you are working on a larger project. If you write a million lines for a class, what editor are you using? If you write a million lines of code in one method, have you been beaten to death by a colleague?

Figure 2: What it feels like to write a million lines of code as a programmer

Student C: It is said that to grow from a beginner to a programmer, you need to accumulate 100,000 lines of code. But then again, this is true, after all, at the beginning stage, you do need to code to gain experience. However, it is wrong to pay attention to the amount of code after practicing for a period of time. It is certainly to pay attention to mathematics and algorithm thinking at this time. According to such calculations, if 200,000 is the threshold of practicing really accumulated one million lines of code, the code quality is higher and higher, and it is estimated to be a small expert in a certain field. As for typing a million lines of low-quality code, take my word for it. Programmers are not suited to your persistent spirit.

Figure 2: What it feels like to write a million lines of code as a programmer

Student D: Cut, a bunch of scum. I’ll show you a web map of what it’s like to stay up late and write thousands of lines of code. I feel like I’m suffocating, if I could turn back the clock, I wish I wasn’t a programmer!!

Figure 3: What it feels like to write a million lines of code as a programmer

E: This is just a gift proposition. How can anyone type a million lines of code? If a programmer who has been working for five or six years has a normal workload of more than one hundred lines a day, it is estimated to be only fifty or sixty thousand lines in these five or six years. If it’s an outsourcing company that’s estimated to double its code volume, put it at 500,000 lines. But who would fight so hard to work a thousand lines a day. Write five or six hundred thousand lines must have turned to entrepreneurship, but also continue not sudden death estimates also took off a layer of skin.

The last

Code really is quality over quantity, high quality code, were advocated by the current code, write high quality code certainly need a quite high professionalism, this needs to be in daily code written to absorb gradually master, who is not every day in learning, the purpose is not to a, in order to achieve a certain function to write high quality code.

So, the long march is still a long way, we still do a pragmatic programmer.

Bay to the source code The original address: http://codebay.cn/post/1443.html

To read more

BAT interview questions collected in the past 3 years

Here’s how to read the difference between the JVM and Dalvik

Here are some important interview questions to ask during the golden interview season

Kotlin Study Notes – A surprisingly fun list collection summary

Believe in yourself, there is nothing impossible, only unexpected

It’s not just technology that’s gained here!