Chapter 20 Writing Code While Lying Down (Asking for Recommendations and Collections)

For the first time, Li Lin felt that the computer started so slowly, but taking advantage of the time when the computer started, Li Lin also began to think about how to combine the two abilities.

Programming was originally a kind of work that used computer language to drive computers to work for themselves or others. If you compare a computer to a human, programming is actually the equivalent of a programmer writing a paragraph on a piece of paper and then asking that person to do everything according to what he writes. It's just that computers are machines after all, and they don't understand human language, so there are various computer languages, that is, languages that computers can 'understand'. Nowadays, computer languages are developing rapidly, and they have evolved from low-level languages to high-level languages.

The good thing about a high-level language is that it will be more efficient, and there are a lot of details that don't need to be considered. It's like a boss and an employee, the boss is at the highest level and the employee is at the lower level. Suppose the company wants to hold a cocktail party, and the boss only needs to tell the employees that they want to hold a cocktail party, that is, for a senior executive like the boss, only one sentence is needed to hold a cocktail party. However, employees need to plan, prepare the venue, prepare the drinks, find a host and a series of other tasks to make this reception happen. The high-level language has the same characteristics as the boss, and the high-level language can do what the low-level language can do with a few lines or even a few pages of code in the low-level language, which undoubtedly greatly improves efficiency.

Another benefit of high-level languages is that the barrier to entry is relatively low. Find a training institute at random, or study on your own for a while, and you can get started. This is the fundamental reason why the group of programmers in the prefecture and even the whole country has begun to expand in recent years.

But one constant truth is that it's easy to get started, but it's hard to master. Therefore, programmers with outstanding abilities are still a very scarce resource. If the ability of a programmer is generally said, it is mainly reflected in the two aspects of speed and quality, and a good programmer can often write a better quality program in a shorter time.

For Li Lin, what his superpowers may help him improve is naturally speed. Code quality is difficult to quantify, just like the college entrance examination essay, the score will always carry the teacher's subjective opinion, and it is difficult to have a clear score like a multiple-choice question. The only data that can directly reflect the quality of the code is the probability of bugs. THE LESS FREQUENT THE BUGS, THE HIGHER THE QUALITY OF THE CODE. But at present, Li Lin has not figured out how his superpowers can reduce his BUGS.

While Li Lin was thinking, the computer had already been turned on. Li Lin did not use his hands to move the mouse and keyboard, but tried to rely on his perception and control to enter his boot password. Li Lin first controlled the mouse, and smoothly moved the cursor to the input box where the password was entered.

"Smack!"

As soon as Li Lin was about to control the keyboard to enter the password, the computer came to the bottom. Fortunately, Qin Tian and He Kun were both sleeping like dead pigs at this time, and they were both in their respective rooms, so they were not woken up.

"That's not right! How can I only control the entire computer and not the keyboard? Li Lin looked at the computer on the ground and muttered to himself.

Through this simple attempt, Li Lin found that although he could control any object he could perceive, it seemed that he could only control the whole, but not a part. This means that Li Lin can control the entire computer to fly around, but he can't control the keyboard to type.

This stumped Li Lin! After trying a few more times, Li Lin controlled the computer from the coffee table to the ground, from the ground back to the coffee table, and so on, but the keyboard never moved at all. If it weren't for the carpet on the ground and the coffee table not high from the ground, it is estimated that the computer would have been directly broken by Li Lin.

"Damn! What's going on with Nima? I thought that I had finally found the right way to open my superpowers, but reality gave Li Lin a blow to the head.

However, as a programmer, Li Lin is quite patient. You know, sometimes it takes a week or more to solve a bug, and you have to debug it constantly, which is the ultimate test of patience.

"Is it because my computer is a laptop?" Judging from the situation where you can control the mouse just now, if it is a desktop computer, the keyboard and mouse are separated from the computer, so there is no such problem.

Thinking of this, a flash of inspiration suddenly occurred in Li Lin's mind, "Yes! If I can control the mouse alone, then I can definitely control the keyboard. All you need is "

"Wow Oooo

The familiar boot sound sounded, if it weren't for the fact that it was late at night, Li Lin really wanted to shout, "It's successful!" ”

Yes! Li Lin succeeded!

Although the keyboard on the laptop is connected to the computer, Li Lin, as a programmer, naturally knows some basic principles of the computer. Structurally speaking, almost all accessories on the computer can exist independently, such as keyboard, mouse, CPU, hard disk, etc., and even the wiring inside. It's just that the manufacturer will assemble these parts to form a complete computer before selling it to customers.

When Li Lin operated the mouse just now, he successfully operated the mouse by de-sensing the mouse alone. At this time, Li Lin did not sense the entire computer, but only sensed a certain button on the keyboard and controlled it to press.

Unexpectedly, it turned out to be a real success!

This attempt is of great significance, allowing Li Lin to have a deeper understanding of his superpowers. Although it is now only possible to control the keyboard and make simple inputs, instead of manual operations, on top of that, superpowers may be used in a variety of ways.

The original drunkenness had long since disappeared under the stimulation just now, and Li Lin was like a child who had gotten his favorite toy, and he was stunned and typed a bunch of useless codes on the keyboard for testing.

In the beginning, because you need to use your sense to sense the position of each key, you can write code even faster than if you type it by hand. But after nearly an hour of Li Lin's practice, he can basically maintain the same speed as his hand.

Still, it's enough against the sky! You must know that Li Lin ended up lying on the sofa and writing with his eyes closed. In this case, at least the staying power will be greatly increased!

Staying power! Yes, staying power!

But there are also disadvantages to lying on the sofa, it is too comfortable, and it is easy to get sleepy, not to mention that it is already more than 1 o'clock at night.

So the result was that Li Lin fell asleep!

The next day, perhaps too tired, Li Lin turned out to be the last to get up. He Kun and Qin Tian had already started struggling in the room. Not to mention, although He Kun, this kid, is a bit exaggerated, but he is so serious that even Li Lin and Qin Tian are ashamed of themselves.

In order to save money, the lunch for three is still the famous instant noodles in the country! This thing is definitely life-saving food before the three of them earn their first pot of gold.

After eating, the three of them still performed their duties, writing code in their own territory according to the division of functions.

If He Kun and Qin Tian sat next to Li Lin, they would find that although his hands were always on the keyboard, they had never moved. But the weird thing is that the keyboard keeps crackling, and the code keeps popping up on the screen.

In order to hide his superpowers, Li Lin still chose to keep a low profile as much as possible, so he put on a normal posture of writing code. If you are still lying on the sofa like last night, in case you are bumped into by He Kun or Qin Tian, you won't know how to explain it when the time comes.

But fortunately, after today's half-day practice, Li Lin used control to write code almost 1.5 times faster than handwriting. Don't look at the speed of just 0.5 times more, when the project cycle reaches a certain level, the difference of 0.5 times is quite considerable.

When a person is concentrating on one thing, time passes quite quickly. In the blink of an eye, it was time for lunch.

Only then did Li Lin put away his perception and control, slowly stood up, and prepared to call He Kun and Qin Tian out to eat.

"Bell bell bell"

Before Li Lin could step out, the phone on the sofa rang.