We sometimes get so obsessed with becoming better programmers that forget about building good habits. Now, Iām not referring to good coding habits such as documenting your code or following the DRY principle, but to healthy habits that will help you be at your peak performance as a programmer.
Software engineers, data scientists, and developers have something in commonāāāwe all write code on a daily basis. We spend a lot of time in front of a computer and often ignore how our body is feeling. Thatās a routine we develop thanks to the deadlines and tight schedules we have.
Most tech people arenāt able to escape this routine. I wasnāt able and probably you werenāt able too. In fact, some days ago I got sad when I learned that one of my favorite YouTubers and excellent Python teacher (Corey Schafer) was facing some health issues.
Not only have Coreyās YouTube videos taught me a lot about Python, but his latest post also reminded me of a valuable lessonāwe must listen to our bodies.
I know this firsthand, and, in this article, Iād like to share with you my own story and what habits I follow to have a healthy life and perform better at work.
I used to code many hours per day. One day my body couldnāt handle it anymore
Three years ago, I quit my 9-5 job to start a life as a solopreneur. This meant being my own boss, but also doing all the work myself.
Back then, my goal was to share with people my knowledge of Python, so Iād spend days doing coding projects and nights making video tutorials for my YouTube channel and online courses.
Unlike most office jobs, I didnāt have a deadline or a boss to please, but I anyway pushed myself to produce the best work possible in little time, so Iād spend hours coding non-stop.
The result? Little by little I started having problems with my eyes, feeling pain in my neck and even in my ass, but I still kept working because I had to get that damn script working!
Spoiler alert: I always got the script working. Unfortunately, later I discovered that there was a price my body had to pay for the excessive work.



