Recently, I heard someone talking about the overtime work of programmers. Do you really have so many things to do when you work so late? Of course, everyone is not the same situation, to the answer is not the same, here for the situation of the individual encounter, talk about some views on overtime.

Is it a lot of work?

A: Yes. Because we have recently been involved in the revision, the old logic is all rewritten in the new format; As well as the introduction of new frameworks and architectures, there is a lot to learn, which increases the amount of work. But is that the main reason for working overtime?

Core issue – efficiency

Combined with the problems and time wasted in task development, I thought for a long time. The real problem is to find out whether the task is done efficiently and the problem is solved when writing the code. But when it comes to efficiency, there are some big concepts, which are discussed in the following aspects:

1. Break down tasks and clear your mind

  • When we get an assignment, we can’t just jump into it. Instead, do some task breakdown for big tasks, breaking them down into tasks that can be done in hours throughout the day. Also, if it takes time to research, break it down into tasks.
  • Make sure you are thinking clearly before each task is developed. How to ensure that, we can take some tools to help, for example, mind map to help us record the details we need to consider when completing a task, its clear structure is greatly beneficial to our understanding of the task; If the current task can involve more complicated logic or more states, it is necessary to consider using UML modeling tools, among which the state diagram used to record the state transformation of the object, the activity diagram to clarify the logic of the program, and the sequence diagram of the clear object interaction are commonly used and essential.
  • All things are difficult before they are easy. It may be that when we start doing this work, we are unfamiliar and feel cumbersome, or the drawing may be flawed. But be assured that it will be very convenient for us to keep going and slowly summarize the problems we encounter. After all, if you do it right, you can write it as a development document, which is much easier to understand than code.

2. Allow time to avoid potholes

If you don’t have much control over the completion of the task, you can estimate the time. But as we become more skilled, our timing of tasks becomes more accurate.

3. Task first

When you encounter a problem, if it is not solved within a predetermined time, you must ask for help, or put it on hold and complete other tasks first.

4. Learn more

In this way, we can make full use of the time after work. Do some in-depth study of the skill points needed for the job. Or do some research summarizing tasks and problems that have not been solved at work. Or to the knowledge point to carry on systematic study. The time here is a time for us to improve and enrich ourselves, and we need to make full use of it.

5. Tomatoes work, work and rest

People’s work energy in a day is limited, it is necessary to make some plans for their energy. Get the main work done as efficiently as possible on your own time. At the same time, also want to work for a certain time, rest for a few minutes, adjust their state.

conclusion

The above mentioned work efficiency points are combined with my own experience, if you have any questions, welcome to discuss. In addition, some people want to express that it is quite unnecessary to work overtime, after all, work can not occupy the whole of our life. After work, we should improve ourselves, improve and enrich the quality of our life.

All copyright belongs to the author, reprint please indicate the original links: alighters.com/blog/2016/0…