I wonder how good programmers stay mentally and intently all the time. 
Reply content:
1. Coffee is effective for most people, there are many kinds of coffee, can choose to fit their taste, can stay awake for a while to improve thinking ability. 
 
2. Vitamin B supplementation, I used to think of the code to get a headache, that is, the kind of crushing brain cells to think too hard, will let the cell hypoxia and loss of vitality. Later also went to the hospital to take a CT, eat some pain medicine is not, as long as the time to think will headache, as if the brain does not let oneself in the work. Then accidentally know that vitamin B supplementation can relieve nerve fatigue and begin to eat. Indeed, many of the problems have been solved, especially when sleeping as if enhancing the brain's 0 defragmentation ability, it feels great in the morning. 
 
3. Apple. Every day an Apple insists on eating. After a long time, you will find that Apple will redefine the relationship between you and the universe. 
 
4. Plenty of water. It goes without saying that there is a delicate relationship between water and life. And life is the carrier of wisdom, a layer of, perhaps our soul to dissolve and water. 
 
5. Pizza, this is personal favorites. For reference only, you can also see the experience of Doom Revelation Carmack. Presumably, programmers just have Coke and pizza, and a computer connected to the Internet. Then no one can stop it from changing the world. A bucket of bubble noodles a box of cigarettes, a meal can tube all day. Don't mess with your girlfriend, haha. Often forget to eat, always want to solve the problem at hand to eat, then there is no then ... 1. Drink more water 
2. Multi-Sport 
3. Leave your seat more active 
4. Eat more Vegetables