Hacker News new | ask | show | jobs
by kk_cz 3394 days ago
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...
3 comments

If you're healthy, after your quick sugar intake, insulin would kick in and you would probably find yourself with lower sugar levels than 30 mins before.
You don't need to write code all day. I doubt you could even write 'good' code for 6 hours per day, let alone from the morning to the evening even if you were eating as you normally do.
Yeah, I get lightheaded and stupid (basically feel fairly drunk) around hours 14-16 without eating. I've been informed the solution to this is a keto diet. Ugh, not worth it.