Eat, Sleep, Code, Repeat

Swaroop Koshy Mathew
4 min readOct 16, 2020

“It is Health which is real wealth, and not Pieces of Gold and Silver
- Mahatma Gandhi

Being a programmer is not the healthiest of professions, as it includes sitting in front of a desktop for long and continuous hours putting a toll on their mind and body. The main problem that a programmer faces, is not overeating, but not moving, exercising, and eating well.

{ eat(); }

It’s not just about consuming food. But consuming what the body needs. It’s all about — ‘Need to have’, more than ‘Good to have’.

  • Omega 3 Fatty Acids:
    Food rich in Omega 3 includes oily fishes like Trout, Salmon, Sardines, etc.
    For Vegetarians: Flax Seeds, walnuts, etc.
    Importance of Omega 3:
    - Improve the ability to process and think.
    - Improve eye health as omega 3 is the major structure of our eye.
    - Reduce Blood pressure levels, Fat in Liver.
    - Raise Good HDL Levels, Improve Sleep.
    - Reduce obesity, Heart disease, Diabetes.
  • Berries:
    Berries contain Flavonoids(natural plant pigments) that help improving memory.
  • Fruits and Vegetables:
    Kale, Spinach, Collards & Broccoli are rich in brain-healthy nutrients like vitamin K. Vitamin K regulates blood calcium levels and bone metabolism.
    Carrots, beetroots, leafy vegetables, almonds, and other citrus fruits come as an aid to those programmers whose eyes are under constant strain.
    Avoid very spicy, oily, and even fried foods.
  • Importance of Drinking Water
    : 85% of the brain is made up of water.
    What does dehydration do to the brain?
    Brain fog, Afternoon fatigue, Focus issues, Depression, Anger, Exhaustion, Headaches, Sleep issues, Stress, and a Lack of mental clarity and acuity.
    : Water carries oxygen to the cells of your body, including those of your muscles. Being well hydrated enables your muscles to work longer and harder before they feel tired.
    : Men need to drink roughly 3 litres and women 2.2 litres of water a day.
  • Caffeine:
    Caffeine is good to have when you need an instant boost, but excessive intake will have the opposite effect at the same time. Caffeine is possibly UNSAFE when taken by mouth for a long time or in high doses (>400 mg per day) resulting in insomnia, nervousness and restlessness, stomach irritation, nausea, vomiting, increased heart rate, etc
    Besides this, green tea and dark chocolate also improve brain function.

{ sleep(); }

Sleep is a vital, often neglected, component of every person’s overall health and well-being. Sleep is important because it enables the body to repair and be fit and ready for another day. Sleep helps to removes toxins in your brain that build up while you are awake.

What happens if you don't get enough sleep?
Sleep deprivation makes us moody and irritable and impairs brain functions such as memory and decision-making. It also negatively impacts the rest of the body, it impairs the functioning of the immune system, for example, making us more susceptible to infection.

Most healthy adults need between 7 to 9 hours of sleep per night to function at their best. Children and teens need even more.

Brain Activity When Sleeping and When Awake

{ code(); }

‘Work Smarter, not Harder’
-
Allen F. Morgenstern

Have a plan. Set up a to-do list for the day. Prioritize the tasks as you move towards the end of the day. Focus is the key and Distractions will make you push you planned tasks in the list, to go beyond the estimated hours. Time management is where most of the programmers keep on failing, hence making them work beyond office hours and resulting in less work-life balance. A Plan always makes us manage our time. And the tick that is done against your to-do list gives you satisfaction and self motivates you of accomplishing a task, even if its a small one.

#Always make your workspace ergonomic.
https://medium.com/work-insight/the-importance-of-good-posture-for-software-developers-c1810ca1f5ad

{ repeat(); }

Peace of mind and body exists for a person when his life is balanced. Some of us have our daily routines like an un-optimized code, which consumes more resources and time for execution, which puts a toll on the system. Let make few tweaks and do a cleanup. Let the repeat(); functionality go through as many iterations as possible.

#LetsCodeForABetterTomorrow :)

References
brainmd.com, BodyBulding.com, healthline.com, health.harvard.edu

--

--