Most of my dev career so far I've been pretty terrible about staying in shape. This year I decided to change things up a bit and get back to working out.
Things I try and do:
Workout - I do Crossfit. I know, I'm one of those people. But I like it because I'm in a group of people. I don't have to do much thinking. I show up, sweat a lot. Leave. I'm not saying everyone do Crossfit but I do recommend finding a group activity to do. It's easier on the brain and you naturally will want to be there because of the group.
Eat healthy - Eating healthy is everything, probably more important than working out. So take some time and identify some healthy foods you like and get into a routine around what to eat during the week. I try and eat about 5 times a day, 3 main meals then some snacks so I don't get hungry.
Read - Try and read as much as you can. Keep working out your brain or really any activity to keep the brain working. Luckily with programming we do a lot of this already.
Sleep - Figure out how many hours you need to be at your best each day and work very hard to get that number each night.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.