How do you work? Are you able to write good quality code while fasting?
My pet theory is that we evolved it, as hunter gatherers we probably had to develop a way to sharpen the senses in case the family/group was running out of food. Ie the Next Hunt can't fail. I think it's a cute idea. Very likely completely baseless :-)