Daily thoughts | Is multithreading really good?

Attention, the star public number , yes, exciting content

Author: Huang workers

Public number: strongerHuang

I have listened to this book recently, and I think it is very good. I will summarize and share with you here.

We basically have multiple things to do every day. Many people have started the multi-threaded work mode in order to complete the task in a short time.

For example: While writing the code, while writing the work summary, while still replying to the news in the work group.

Do you think this multi-threaded work model is really good?

 1 

Illusion of busyness

Many people like to arrange multiple tasks for themselves and work on them at the same time, but after a busy day, they find that one thing is not done well. As a result, I had to work overtime, and finally found that after working late, I still didn't do much.

An important reason for not doing the work well is the multi-threaded work model.

Turning on multi-threaded work seems to be doing several things at the same time, but the multi-threaded work mode will disrupt your work plan, consume your brain power, and lead to low work efficiency.

Perhaps some company leaders have a traditional idea that working overtime is good, and working overtime means busyness and more work.

In fact, this is just an illusion of busyness.

 2 

Causes of inefficient work

1. Choose the job with the least resistance

In the process of work, people instinctively choose the simplest tasks to do, because these tasks have the least resistance.

For example, replying to a message from a work group is easier than completing the code of a functional module.

Although you know that it takes a lot of time to write code, you can't help but click to open and take a look at the news from the work group. After such a long time, you may not have written a line of code.

You may complain about being disrupted by these trivial things, but it is still the same the next day. Why is that?

This involves a principle of least resistance: replying to group messages has the least resistance, which is easier than writing code. This will allow you to continue to do simple things and compress things that really need to produce high value. Time . Over time, many people feel that their work is worthless, and important things are always delayed.

According to the principle of least resistance, if people switch between simple, inefficient, and low-value jobs for a long time, and then return to work, it will be difficult to concentrate. Because the switching of the human brain is not like the switching of computer tasks, when you keep switching attention goals, your energy is dissipated.

Therefore, long-term selection of the least resistance work is a cause of inefficient work.

2. Work confusion

For example, after you fix a bug, and then write the code of another project, at this time, your mind may have the code to modify the bug from time to time.

If you are fixing bugs and writing code for new projects at the same time, this will consume more energy and lead to inefficient work.

It seems that we are doing multiple things in our hands and are relatively busy. In fact, this multi-threaded work mode is extremely inefficient.

 3 

Cultivate in-depth work

If you want to work more efficiently, you need to work in depth. Here are a few steps.

1. Choose a deep working mode that suits you

Deep work requires long-term focus, but not everyone can do it. Some people work best when they wake up in the morning, while others can focus on work only at night.

We need to choose a working mode according to our physical and psychological characteristics.

The first type: Rhythm mode is to do fixed things at fixed times every day. For example, get up every morning to exercise, read a book, and then go to the company to plan what to do today and write 1.5 hours of code...

The second type: the bimodal mode , which separates important things from unimportant things. For example: usually from Monday to Friday, do important things well through high-intensity work, and finish unimportant things on weekends (or do important things intensely during the day and unimportant things at night).

The above two modes are mainly recommended here. Of course, there are other modes, such as: abstinence mode (working in isolation from the world) and reporter mode (maintaining focus at any time). They are not recommended here, and I will not describe them for the time being.

2. Deliberately train and develop habits

I chose a working mode that suits me, and then I deliberately practice to make it a habit.

In other words, don't wait for inspiration or state to start work, but turn work into a fixed daily thinking and guidelines, so as to reduce the resistance to excessive work.

For example: go to work to list today's plans, to write a summary after get off work, to read a half-hour book before going to bed, etc.

3. Execution

Execution is the most difficult step. Many people (including me) have relatively weak execution capabilities. Many things we planned before were stuck as soon as they were executed, and then there was nothing.

Here I want to emphasize one point, it is important to "transform" the goal. For example: to do a project, you have to think that you can get a lot of bonuses, get promoted and raise your salary.

In other words, you have to be passionate, and work with the passion to pursue a girlfriend.

 4 

Conclusion

Humans are different from computers. Computers can switch back and forth quickly, but people are different and need to be focused. Don’t disrupt the rhythm due to the occasional interruption, thereby affecting future work habits.

Finally, I hope everyone finds a working mode that suits them, and can work quickly and efficiently.

An embedded software engineer

Everyday feelings and thoughts

Long press to scan code to follow

Guess you like

Origin blog.csdn.net/u012846795/article/details/108068076