Wandering around the community today, I came across a very interesting post called “What does it feel like to Write 100W lines of code?”

I read it, and then my scalp went numb, and I wrote 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?”

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.

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?

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.

1490083014213436.gif

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!!

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.

In fact, the code is really quality rather than weight, high quality code, is currently advocated by the code community, of course, to write high quality code must be a very high professional quality, which needs to be gradually absorbed in the daily code writing. Everyone is learning every day to write high-quality code for a function.