Programmers, an outsider seems to be a high-paying, promising job, but how many people know how many programmers are in their own physical and mental health in exchange for this seemingly gorgeous praise. Well, life is always moving forward, there are problems to be positive to solve, not to mention is related to their own physical and mental health problems, if blindly complaining will only push oneself to another abyss.
Here are some tips on how to keep your mind and body healthy, as discussed by the programmers around you:
1. Learn to walk away
Generally speaking, most programmers have the ability to work and be organized. We don't want to admit defeat, and we don't want to go away when it doesn't. But when you've spent too much time on a problem, the best thing to do is walk away and be clear-headed. Take a two-step walk to see the scenery breathe fresh air, and when you calm down (no longer impatient) and return to your desk, efficiency will be more productive.
2. Less programming at home
Working for a day, going home and continuing to turn on the computer to open eclipse for programming, I think this is what many programmers like to do. But my advice is that since you go home, put the code aside, Cook, do the housework, then watch TV, preferably read some books. As for the code, you can wait until tomorrow.
3, less call for takeout, eat out at noon
Many programmers are accustomed to call takeout at noon, others go to dinner, he still there to continue coding, until the takeaway to send, and then in front of the computer to complete the hasty lunch, this is a very sad thing. My advice is, eat out at noon, but to eat health, KFC and McDonald's do not, your health is worse than people, and then eat this is not justified.
4. Non-technical interests and hobbies
You can not only be interested in computer, code, we are a social person, should have social activities that society should have. You have a wide range of interests, reading, watching movies, tea, singing and so on, if you can have a few of their favorite sports activities, it is more perfect. Programmers have a healthy lifestyle, and the code is just a small aspect of your life.
5. Appropriate leave
Don't worry about using your vacation when everything on the job gets bad-it will keep you away from the work you can't afford. You don't have to go abroad for a holiday and you don't have to travel, it doesn't matter if you want to stay at home. The key to leave is not to work.
6, learn to borrow power
On the professional platform to find the SDK or API you need, rather than direct Baidu, such as Devstore, assessment and contrast do are very in place, these things can be used according to their own needs of the project, which will save you a lot of time.
Article Source: http://jingyan.baidu.com/article/a17d52853c399f8098c8f2e2.html (Baidu Experience)