When the programmer opens the plug-in

Chapter 30 Writing code is not my main business (please collect and recommend)

Chapter 30 Writing code is not my main business (please collect and recommend)
Because this competition is within the scope of the company, it has spread too widely, and many people know about it.

Now there is just a chance to come here, so they formed a group together.

Zhou Yongfu saw that there were a lot of people, and he also saw some good people.

So he booked a very large meeting room. In his words, anyone who wants to come can come and participate, and he doesn't stop anyone.

The last conference room that can accommodate more than 40 people is almost full of people, isn’t that right? There are more than ten people in Cheng Wen’s department, there are almost ten people in Huo Linghui’s department, and there are seven or eight people in the game side. Plus some onlookers.

"If I had known there were so many people, I should have booked a release room." Zhou Yongfu felt that he still underestimated the power of the people watching the excitement.

"Don't you all have to go to work?" Cheng Wen was also very speechless.

At the meeting, they introduced the functions of this phase of the project. Of course, the test schedule on their side is estimated to be three days.

So they didn't ask Huo Linghui and Cheng Wen to complete the test today.

What Zhou Yongfu meant was that in today's day, he could test as much as he could.

"That won't work. A complete function must be tested. Whoever takes the shortest time between the two will win. If the test is not finished, I will not sleep." Cheng Wen felt that they had to complete a complete test of a function.

Yu Kangsheng: ...Brother, you didn't work overtime last night, but I worked overtime all night. If I stay overnight again today, I'm afraid of sudden death at work.

"I don't think so many functions are needed. We can set the workload to be the same and only let us test a part of the functions. For example, the scheduling is one and a half days. It should be done after a while, and it doesn't need to be too late. "

Huo Linghui knew that Yu Kangsheng didn't sleep last night, so she also proposed a plan. She thought it would be fine as long as the workload of both parties was the same.

"Okay, we can split some functions, only a day and a half of work.

But this time I will tell all the possibilities, which is the workload of this day and a half. First, whoever finds the most bugs and who finds the most will win. If there are the same number, whoever takes the shortest time will be counted. win.

You don’t want to test other things this time, even if you test other functions, you won’t get any points. "

Zhou Yongfu learned the lesson from last time this time, and decided to discuss everything in advance to avoid any further disputes at that time.

"can."

"can."

Both Cheng Wen and Huo Linghui agreed. In fact, they were also forced to test the previous functions, and they knew they were tired.

This time I said this in advance, and they felt relatively relaxed.

Still in this meeting room, the two of them turned on the computer and started the game.

Of course, the first step is to write test cases.

Everyone saw Cheng Wen holding a mechanical keyboard that he brought, and flying up at a high speed. According to visual estimation, there are more than 1 words in one minute.

In fact, if he can really count, he will find that Cheng Wen's speed is above 200.

At such a terrifying speed, Cheng Wen had already written the test case in less than 20 minutes.

Then he started testing.

Although everyone is watching from the side, they are not monitoring his screen, but just watching to see if anyone else is going to help them.

Besides, after the game started, most people walked away. After all, it was good to watch the excitement. They still had to work, and it was good to go back and watch the text live broadcast.

If you are too tired from work, you can also come and have a look.

This meeting room has been reserved by Zhou Yongfu for a day, and the door is always open, anyone can come in.

In just one hour, Cheng Wen had found all the bugs.

Looking at Yu Kangsheng, Cheng Wen guessed that maybe he should have just finished writing the test case!

"The test has been completed, what should I do next? Would it be too shocking to say that the test has been completed?"

Ding--

[In order to help the host win the competition perfectly, a special reward is now issued, two hours of scientist-level java programming experience experience]

In an instant, Cheng Wen felt that a lot of knowledge was poured into his brain, and it took a while for Cheng Wen to come back to his senses. This feeling is like a person who has worked in the Java field for decades and has always maintained enthusiasm for learning. Attitude, he is studying hard every day, and his understanding of java has reached a very terrifying level.

Perhaps the people who created this language can't compare to Cheng Wen's understanding of java at this moment.

After all, this is at the scientist level, what jvm, what package dependencies, java7, java8, etc., he feels that he can talk to others casually for a day.

Cheng Wen was a little puzzled when he heard the experience the system gave him. What does it mean, I don't need to write code?
But after a while, Cheng Wen began to yell at himself for being stupid.

It's not clear that Cheng Wen is asking Cheng Wen to help fix the bug?

Cheng Wen found Zhou Yongfu and said he wanted a copy of the code.

When Zhou Yongfu heard it, he was also a little puzzled, not sure why Cheng Wen wanted this?

But still let the development give him a copy.

"Could he be taking the free test?" one of them asked.

Zhou Yongfu thinks this is entirely possible. It seems that Chengwen is not simple, not only functional testing, but also white box testing.

This is better, and it can find out some problems that are not easy to be found.

But in fact, Cheng Wen did not conduct white box testing, after he got the code.

Just fix it based on the bugs he finds.

In terms of time, he didn't have time to install the development environment on his computer, so he could only operate blindly (only write code, not run), and develop with the help of a software that can highlight code—editplus.

Because generally writing code needs to be run. Only after running can we know whether the writing is correct. Is there any problem?
But Cheng Wen's skills have been systematically improved to the level of a scientist, so he knows that the code he writes will basically have no problems, and their project is not very difficult.

He can perfectly simulate a compiler in his brain, and can execute these codes in his brain.

It didn't take long, only 40 minutes, and Cheng Wen finished fixing the bug.

"There is still more than an hour. What can I do with it?" While thinking, Cheng Wen looked at Yu Kangsheng. He was still conducting the test, and it seemed that it would not end in a while.

By the way, although the functional branches displayed on this translucent screen are all green, some are light green, and only a few are dark green.

Can I improve their code so that all the light green ones become dark green.

Thinking of this, Cheng Wen started to do it.

He opened the code, found the light green part, and began to modify it.

"This structure is wrong, change it."

"Wouldn't it be possible to have higher concurrency when written here? Change it."

"And here, the code is a bit random, change it."

"Here, a small change like this cut the overall run time by almost half."

"The functions here are so complicated, but the documentation is a little short. Well, I'll add one."

Cheng Wen started a comprehensive revision, and even some low-level things were changed.

(End of this chapter)

Tap the screen to use advanced tools Tip: You can use left and right keyboard keys to browse between chapters.

You'll Also Like