One of the best article I have read on Dev!
Whatever you do, if you are not well rested, your performance would be sub-optimal.
Some more factors that affect performance are:
1) Diet: Eating too much sugar or carbs around bedtime causes issues with sleep. Also, in general, if you are not watching what you eat then you are not doing justice to your body.
2) Stress: There is no other worst enemy than stress. If you are stressed out, your hormones would go haywire.
3) Not taking a break from the routine: A monotonous routine is something that really breaks you.
Amen to that!
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.