If you're addicted to cocaine, then cocaine is really important for focus. Same for sugar. If sugar is really important for focus for you, then you're likely heading for diabetes type 2.
I did keto for a few months a long time ago (2010/2011). This was early in my career and long coding and debug sessions were a normal part of my day-to-day.
There was zero impact to my work focus, positive or negative, from cutting nearly all carbohydrates out for several months.
I am curious were you heard or learned that "sugar is really important for focus". Just a vibe, perhaps?
Personal experience. Then I found many well known programmers shared the same experience online. It feels deliberate work without sugar. ie. if coding = work + fun. without sugar its just coding = work. It does not get any better after 3 days or so too.
It might feel good but spiking your blood sugar isn't healthy for you, and the crashes afterwards will get worse over the years. Improving metabolic health might be a better long term solution; have you explored how endurance or high intensity exercise affects your focus?
Been coding while fasting on keto and it's absolutely amazing. Fasting is hard socially, being ketogenic puts a bit more stress on my kidneys, but for me (adhd) it's amazing.
remember your brain can run on ketones which provides a more stable energy than glucose spikes. the brain is metabolically flexible, can run on glucose, ketones or lactate
That's addiction. You'll need time to get out of it.
Cutting off sugar will help you have more focus, not just during coding but the whole day. However, if you were on high amount of sugar before, at initial stage, your body will scream.
For me, it takes a few weeks to get settled in. After that, I don't miss sugar at all. Can focus just fine.
Yes it can and it does that when there is an absence of available glycogen provided through carbohydrates, it is not to replace but to support in addition to appropriate sugar intake. It is a less efficient source of glucose, does not provide a large enough amount for exercise and also uses amino acids from muscle to help. Do this long enough and you end up in ketosis which is a whole other kettle of fish.
Why neglect one aspect of our bodies digestive energy systems for just gluconeogenesis. Wouldn't you be better off eating a balanced meal of complex carbohydrates and unsaturated fats. Our bodies have multiple pathways to producing energy, focusing on using only one is silly and not the right approach because it wasn't designed to be that way.
Just because our bodies can survive doing a particular thing in the absence of another, doesn't mean that thing we're absent of isn't required.
Its optimal to solve all the constraints or requirements of needs of the body. But we don't fully understand the requirements as a whole and conflicting information from expertsh. So the rational thing is to rely on the historical data and make judgements on the probability.
This is just CEO-Brain bullshit. These people keep thinking we live to work, instead of work to live. What they forget is that yes many CEOs and "Founders" do work insane hours. But thats because they expect that at the end of the rainbow they will look in their bank account and behold a stupid number of zeros in their bank balance.
But the rest of us have our labour effectively stolen from us. We make the boss a million dollars off our labour and in return we get maybe $100K. For most americans, a lot less. Its almost as if 3/4 of the week we are working for free. And they want us to do more? Fuck no. I want to spend time with my girl and the kids. I want to spend time playing in punk bands, or shooting scrubs in videogames.. I want a fucking holiday.
If they want me to spend MORE time in the office, and especially if they want 72 hours a week, then I want to see at least six zeros hitting my bank account every goddamn year. And then in a year or so I'll say "Bite me", and take those years, find a nice house in the south west forests and live out my years fishing or growing murder-chillis or doing sick leadbreaks.
These billionares, they aren't like us, and they arent on our side.
I´ve just been reading about Mondragon Corporation, but probably this is the wrong site to discuss such ideas.
But you did get me wondering if I need some new chilli seeds, I´ve not heard that phrase before, and thought maybe there was a new super-hot kicking around. My 4yr old Carolina Reaper plant died in the crazy summer heat extremes this year, and now it looks like full steam ahead for business until the planet is toast. Forests might be the least safe place, looking at all the fires across Europe this year.