IDK, brain needs glucose to function properly. It might be just placebo effect, but when I feel mentally exhausted quick sugar usually helps me to regain attention. If I wasn't allow to eat during the day I wouldn't be able to write usable code in the evening...