How Being My Healthiest Self Makes Me A Better Developer
Preface
This blog post dives into the scientific evidence behind how optimising my health positively impacts my cognitive performance, creativity, and resilience as a developer. Drawing from research in neuroscience, nutrition, exercise physiology, and psychology, I aim to explain why certain habits and routines are more than just lifestyle choices — they are scientifically backed strategies for high-performance coding and problem-solving.
✅ Sleep Optimisation: Enhancing cognitive performance through improved memory consolidation and neural repair.
✅ Nutrition & Brain Health: The role of healthy fats, proteins, and antioxidants in reducing inflammation and neurodegeneration.
✅ Exercise & BDNF Production: How physical activity boosts Brain-Derived Neurotrophic Factor (BDNF), enhancing neuroplasticity.
✅ Emotional Resetting & Positivity: Psychological resilience and mood regulation as productivity enhancers.\
Sleep: The Foundation of Cognitive Performance
Scientific research has long established that sleep is critical for cognitive function, especially memory consolidation and problem-solving. During sleep, the brain undergoes a process known as synaptic homeostasis, where unnecessary synaptic connections are pruned and essential ones are reinforced, enhancing learning and memory. Additionally, sleep helps clear beta-amyloid plaques from the brain, a process that may reduce the risk of cognitive decline.
By maintaining a consistent sleep routine and creating a sleep-friendly environment (e.g., dimming lights an hour before bed), I’m essentially enhancing the efficiency of these processes.
Nutrition: Fueling Brain Health & Performance
The brain is an energy-hungry organ, and what you feed it matters. Diets rich in healthy fats, proteins, and antioxidant-rich vegetables have been shown to improve cognitive function, and my experience confirms this. Wearing a Continuous Glucose Monitor (CGM) has demonstrated that avoiding refined sugars keeps my blood sugar levels stable throughout the day, allowing me to stay focused and alert without suffering from energy crashes. This consistency in energy levels directly contributes to better concentration and cognitive performance, which is essential when working on complex coding problems and architectural decisions.
Furthermore, avoiding sugars and highly processed foods has been linked to reduced formation of beta-amyloid plaques. By maintaining a diet focused on nutrient-dense foods, I'm actively working to protect my brain from cognitive decline, which is particularly important in a mentally demanding job like software development.
Exercise: Building Resilience & Enhancing Neuroplasticity
Physical activity is more than just a tool for physical health; it's a powerful enhancer of cognitive function. Exercise increases the production of Brain-Derived Neurotrophic Factor (BDNF), a protein that supports neuroplasticity — the brain’s ability to form and reorganise synaptic connections, particularly in response to learning or experience.
Research suggests that aerobic exercises, such as running, produce higher levels of BDNF, enhancing learning, memory, and mental resilience. This makes me more efficient at problem-solving, debugging, and absorbing new information. Regular exercise also reduces stress hormone levels, promoting a positive mental state that’s crucial for creative and logical thinking.
Positive Mindset & Emotional Resilience
A healthy lifestyle significantly contributes to mental well-being. Improved nutrition, regular exercise, and quality sleep all contribute to better emotional regulation and a generally positive mood. Studies suggest that psychological resilience — the ability to effectively manage stress and adversity — is enhanced through consistent healthy habits. This is essential for developers who frequently encounter challenging projects and tight deadlines.
Furthermore, maintaining emotional well-being promotes better social interactions, enhancing collaboration and teamwork.
Conclusion
Being a developer isn’t just about writing efficient code; it’s about being mentally resilient, creative, and consistently productive. By building my lifestyle around scientifically-proven health practices, I’m not just improving my personal well-being — I’m enhancing my ability to solve problems, learn new concepts, and collaborate effectively.
I get most of my science from (Rhonda Patrick)[https://www.foundmyfitness.com/], so please be sure to check her out!
My Technical Skills

AWS

JavaScript

TypeScript

React

Next.js

Cypress

Figma
