I am a coder and I feel like I need to use a lot of my brain during my working hours. Working out (could be lifting weights or even just running or crossfit stuff) helps shift the focus from concentrating on algorithms and design and to just getting from point A to point B or lifting x weight. I know many friends who tried working out and couldnt get themselves to commit. The difference for me is that, I am motivated by an athletic goal that I set for myself and hence work towards it.
Sleep is probably the most important "habit" you should have. I personally find that after a good night of sleep, I am extra productive during the day and get more tasks done. I can think clearer and able to code better/faster. While number of hours of sleep is important...so is quality! An example of quality sleep is sleep where you dont wake up in the middle of the night to hit the washroom or out of panic that you missed something in your code(I used to have many of these haha).
I am a coder and I feel like I need to use a lot of my brain during my working hours. Working out (could be lifting weights or even just running or crossfit stuff) helps shift the focus from concentrating on algorithms and design and to just getting from point A to point B or lifting x weight. I know many friends who tried working out and couldnt get themselves to commit. The difference for me is that, I am motivated by an athletic goal that I set for myself and hence work towards it.
Sleep is probably the most important "habit" you should have. I personally find that after a good night of sleep, I am extra productive during the day and get more tasks done. I can think clearer and able to code better/faster. While number of hours of sleep is important...so is quality! An example of quality sleep is sleep where you dont wake up in the middle of the night to hit the washroom or out of panic that you missed something in your code(I used to have many of these haha).