Code, Coffee, and Cardio: 10 Tips to Keep You Healthy While Hacking Away šŸ’»ā˜•šŸ’Ŗ

Letā€™s face itā€”being a software engineer might just be the new "sitting is the new smoking." Long hours glued to a screen, staring down code, battling bugs, and racing against deadlinesā€¦ it's not exactly the healthiest gig out there. šŸ˜…

Iā€™ve been jet-setting around, meeting dev communities across Europe and the U.S., and thereā€™s one thing Iā€™ve noticed over and over again: many of us treat ourselves like machines. Itā€™s like weā€™ve forgotten that weā€™re humans first, coders second! Weā€™re running on caffeine, junk food, and the sheer determination to meet that next specā€”while our bodies are practically waving the white flag.

Iā€™ve been there. My college days and early career were basically sponsored by fast food, sleep deprivation, and a total lack of exercise. But about six months ago, I stumbled upon the shocking discovery that gasp taking care of myself actually made me feel betterā€”both personally and professionally. Iā€™m talking losing over 10 kg, ditching the cigarettes, and sending stress packing. And because Iā€™m not one to keep a good thing to myself, Iā€™m here to share the 10 tips that helped me get my mind and body in sync while still living that developer life.

1 ā€” Sugar? Nope, Not Today šŸ¬šŸš«

Letā€™s start with the bad guy: sugar. Itā€™s like that sneaky bug that ruins your code at the worst possible moment. Sugarā€™s in everything, and itā€™s not doing you any favors. Remember that 3 PM slump where youā€™re nodding off mid-debug? Thatā€™s the sugar rollercoaster talking. It makes you fat, sick, and craving more sugar. Time to hop off that ride! Stick to low-glycemic foods like veggies, fresh meats, nuts, and eggs. And for the love of all things healthy, avoid the fast-food trap. Try cooking something new, mix up your meals, and maybe skip dessert once in a while. šŸ½ļø

2 ā€” Slow Down, Speed Racer šŸ¢

Your brain needs 25 minutes to realize itā€™s fullā€”so donā€™t shovel food in like youā€™re trying to set a world record. Chew slowly, savor each bite, and let your body tell you when enough is enough. Eating slower isnā€™t just polite, itā€™s great for digestion and keeps you from overeating. Plus, youā€™ll actually enjoy your meal. Imagine that!

3 ā€” Ditch the Desk Dining šŸ½ļøšŸš¶ā€ā™‚ļø

If youā€™re one of those people who eats lunch at your desk while catching up on emails or watching YouTube, itā€™s time to stop. Seriously. Take a break, get some fresh air, and find a spot outside to enjoy your meal. If you work in a skyscraper like me, take a walk around the block or find a nearby park. Who knowsā€”you might stumble upon something new and exciting, like a hidden coffee shop or a cool conversation with a stranger. šŸŒž

4 ā€” Snack Smartly šŸŽ

Nobody likes being hangry, and Iā€™m no exception. If you need a snack, reach for something healthy like an apple or a handful of nuts. Keep those sugary snacks and candy bars out of sightā€”theyā€™ll only make you crave more and do nothing for your hunger. Personally, Iā€™m a fan of having five or six small meals throughout the day instead of three big ones. It keeps my energy levels stable and helps with digestion, though it does require a bit of planning. šŸ„œ

5 ā€” Hydrate Like a Pro šŸš°

Donā€™t wait until youā€™re parched to grab a drink. Keep a water bottle with you all day, and take sips regularly. And hey, why not take a sip right now? Itā€™s free! Increasing your water intake not only keeps you hydrated but also gives you an excuse to step away from your desk for a quick bathroom break. Bonus tip: I set up a fun little macro in my code editor to remind me to drink water every time I save my code 20 times. šŸ’§

6 ā€” Sleep Like You Mean It šŸ˜“

Think of sleep as your bodyā€™s way of recharging. You wouldnā€™t unplug your phone before itā€™s fully charged, so why skimp on your own rest? Sleep deprivation is no jokeā€”it messes with your thinking, makes you cranky, and can even slow down your code flow. Aim for a solid 8+ hours of sleep, and trust me, your future self will thank you. šŸŒ™

7 ā€” Screens Off Before Bed šŸ›Œ

Hereā€™s the hard truth: staring at screens before bed messes with your sleep. I know itā€™s tempting to keep coding late into the night, but your brain needs time to wind down. Shut off the screens at least two hours before bed, and youā€™ll wake up feeling refreshed and ready to tackle the day. Plus, you might even start waking up naturally without an alarm. Imagine waking up with a smile on your face instead of hitting the snooze button for the fifth time. šŸ˜Š

8 ā€” Sit Up Straight šŸ’ŗ

Letā€™s face it: most of us spend way too much time sitting. And if youā€™re not sitting correctly, youā€™re doing your body a huge disservice. Make sure your chair is at the right height, your feet are flat on the ground, and your back is straight. Better yet, try a standing desk for an hour or two each day. Your lower back will thank you, and youā€™ll notice the difference in your posture pretty quickly.

9 ā€” Take a Breather šŸŒ¬ļø

Breaks arenā€™t just niceā€”theyā€™re necessary. Step outside for a few minutes every hour, take a deep breath, and give your brain a chance to reset. Youā€™d be surprised how often a solution to that tricky bug pops into your head right after a short break. Plus, a little fresh air never hurt anyone. šŸŒ³

10 ā€” Move It or Lose It šŸš“ā€ā™‚ļø

Our bodies werenā€™t made to sit in front of a computer all day. They need movement! Join a gym near your workplace, so you have no excuses not to go. Whether itā€™s before, during, or after work, getting some exercise in will do wonders for your stress levels and overall health. And hey, building some muscle and doing cardio will boost your metabolism and stamina. No one likes getting winded after just a few flights of stairs, right? If the gym isnā€™t your thing, invest in a bike or take the stairs instead of the elevator. Your body is your first vehicle, so treat it like the priceless machine it is! šŸš“ā€ā™€ļø


There you have itā€”10 tips to keep your body and mind in top shape while still crushing code like a pro. Donā€™t try to do it all at once; pick one habit and work on it for 40 days until it sticks. And donā€™t forget to check back on this post when you need a little reminderā€”your future self will thank you!

0
Subscribe to my newsletter

Read articles from Brilliant Makanju directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Brilliant Makanju
Brilliant Makanju