I am a lazy developer so here My Recommendations for You :)
If you code, your body and mind loose a huge amount of energy. Which you will not gain in a few second like your computer do. Think that you are a Human not a Super-Human. So eat and do sport before doing Software Development. Checkout in here http://health.phleton.com/