Writing
Your body is as important as your mind. Most engineers ignore both
Engineers like to think of themselves as people who work with their minds, and then they treat that mind like a machine that runs on caffeine and no sleep. Years of grinding cost me my sleep, delayed treatment for a health condition, and pushed me into avoidable bugs. What I learned about the link between body, mind and the quality of my work.
- Published
- Reading time
- 12 min read

Ask an engineer what their job is made of and you'll hear some version of the same answer: thinking. We solve problems, we design systems, we hold complicated things in our heads until they make sense. The mind is the tool, and most of us are proud of it.
Then look at how we treat it. Short nights, long days, coffee as a meal, a chair for twelve hours, and a phone for whatever is left. We say the mind is what matters, and we run it on a body we never look after. And if you look closer, most of us aren't even taking care of the mind. We're just using it until it stops working.
I did exactly that for years. I'm writing this as someone who paid for it, and who is still paying for some of it.
#How I got here
Around 2021 and 2022, I was deep into the grind content. The 10x engineer videos, the morning routines of people who apparently never sleep, the motivational clips telling you that while you're resting, someone else is working. I believed it. I thought sleep was a cost to minimize and that the people who made it were the ones who gave up the most.
So I gave up sleep, for years. I learned at night, built at night, and woke up early to do it again, and I felt proud of how little rest I needed.
Then came the job I wrote about in When you make software look easy, they stop respecting it: almost three years as a one-man dev team, delivering everything that was asked of me, on nights and weekends. By then, the grind wasn't a choice anymore. It was the only way to keep up.
During all of that, I was taking care of my mind in the only way I knew. I kept learning. New languages, new frameworks, new architectures, books, courses. I thought that was enough. My body was just the thing that carried my head from the bed to the desk.
#The condition I was too busy for
Hypertension runs in my family. I knew that. I also had the symptoms, and I had them for years.
I ignored them. I knew what they might mean, and I was too busy to deal with it. Every time something felt off, there was a deadline, a release, a request that couldn't wait. Seeing a doctor meant losing half a day, and half a day was something I never had. So I told myself it was fatigue, or stress, or the coffee, and I went back to work.
It's diagnosed now, and it's being monitored. But I lost years in which I could have been taking care of it, and I lost them for software that nobody will remember.
I want to stay on this point, because I think it's the most important one in this post. When engineers talk about health, they usually mean back pain, wrist pain, tired eyes. Those are real, and they're visible: you feel them at the desk, and the fix is often a better chair or a break. The dangerous problems are the quiet ones. The chronic conditions, the hereditary ones, the ones you were told about years ago and filed under "later". They don't interrupt your work, so they never get priority. They just get worse in the background while you're busy.
If your body has been sending you the same signal for months, that is not something to schedule after the next release. There will always be a next release.
For me, sleep and blood pressure fed each other. The worse I slept, the worse I felt, and the worse I felt, the harder it was to sleep. I've been working on my sleep for a while now, seriously this time, and I feel a lot better since I started. I'm not sure I would have taken it seriously if I hadn't been scared first.
#Your mind runs on your body
Here's the part I wish someone had made me understand earlier: the mind I was so proud of runs on the body I was ignoring. There's no separation. When the body is exhausted, the mind goes with it, and it doesn't fail all at once. It fails in the places you notice last.
In my case, the first thing to go was judgment. Not my ability to write code, I could still type a working function at two in the morning. What went was the part of me that stops before typing and asks how this feature fits into the rest of the system, what it touches, what could break. I wrote about it in the other post I mentioned earlier: I started implementing features that needed real thinking without thinking about them first. I'd open the editor and start typing.
The result was bugs, some of them catastrophic, and nearly all of them avoidable with an hour of planning. At the time, I blamed the pressure and the deadlines, and they were part of it. But a rested version of me would have taken that hour anyway, because a rested version of me would have seen the problem coming. A tired brain doesn't feel like it's skipping steps. It feels like it's being efficient.
That's what makes sleep deprivation so dangerous for engineers in particular. Our mistakes don't show up when we make them. They show up weeks later, in production, in a module someone else is working on, and by then nobody connects them to the night they were written.
#Working less, getting more done
I've always loved resistance training. It isn't new to me, but for most of those years it was the first thing to go whenever work got heavy, which was always. Now I train at the gym regularly, and I'm trying to be more disciplined about it than I've ever been. I'm a skinny guy with a fast metabolism, so I'm not doing it to lose weight. I'm doing it to get stronger and to build muscle, and to give my body some of the attention I spent years giving only to my head.
What surprised me is what it did to my work.
Training forces structure on the day. When you have a session to get to, work has an end. You can't let a task drift into the evening, because the evening is already taken. So I started organizing my time better without really trying, and the work I do now is more focused, because I know exactly how much time I have for it.
It also clears my head. I come back from a session with less noise and more room to think, and some of the problems I couldn't untangle at the desk get simpler on the way home.
The result is something I wouldn't have believed in 2021: I spend less time working than I used to, and I'm more productive than I was. Fewer hours, more focus, fewer bugs. The hours I used to put in were never the thing producing the work. A large part of them was just me being present at the desk with a mind that had already left.
#The mind needs care too
I said most engineers ignore both, and I mean it. Using your mind all day is different from taking care of it.
Burnout is the obvious one. But there are quieter forms of neglect that I see everywhere, including in myself at times. Never thinking deeply about anything because there's always a notification. Scrolling as a way to rest, which leaves you more tired than before. Not learning anything outside of what the current ticket needs. And now, handing the thinking itself to AI.
That last one deserves a moment. I use AI, and I've written about where probabilistic tools belong and where they don't. But there's a difference between using a tool and depending on it. If a model plans every feature, writes every function and explains every error, the part of your mind that used to do those things gets less exercise, and like any muscle, it weakens. You won't notice it on the day you start. You'll notice it on the day the model is wrong and you can't tell.
So I try to be deliberate about how I use my mind. I keep learning new things, on purpose, including things I don't need for a current project. I think about a problem before I ask anything for help with it, and sometimes I refuse the help altogether, because I want to know I can still do it. I sit with the architecture of a feature before I write it. None of this is accidental. I do these things for a reason, the same way I go to the gym for a reason.
#The lies we tell ourselves
A lot of what keeps engineers in this state is a set of beliefs that sound like ambition and work like a trap. These are the ones I believed, or still hear all the time.
#All-nighters are dedication
An all-nighter is a debt you take out against tomorrow's mind, and the interest is paid in bugs. Shipping something at four in the morning doesn't prove you care about the work. If anything, it proves the work wasn't planned properly, by you or by someone above you.
#The 10x engineer grinds
The engineers who are actually much more effective than their peers are rarely the ones working the most hours. They're the ones who think before they build, who say no to the wrong things, and who don't spend next month fixing what they rushed this month. The version of the 10x engineer sold on social media is mostly hours and aesthetics.
#Sleep is for the weak
I spent years believing this one. Bragging about four hours of sleep is bragging about running your only tool at half capacity. Nobody would brag about deploying to a server with half its memory missing.
#Coffee is fuel
Coffee doesn't give you energy you don't have. It hides how tired you are for a few hours, and then you pay it back, usually at night, when you should be sleeping. If you need it to function at all, the problem is somewhere else.
#There's no time for exercise
There's time. It's being spent on something else, and usually that something else is work that would take less time if you were in better shape to do it. I found the time once I stopped treating my body as optional, and the work didn't suffer. It got better.
#Rest means falling behind
Behind whom? The industry will still be there after your vacation. The frameworks will have changed a little, and you'll catch up in a week. What doesn't come back as easily is a body or a mind you've run into the ground.
#If you're passionate, you code every evening
Passion for the craft doesn't require giving it every hour you have. Some of the best engineers I know close the laptop at the end of the day and do something completely different. Side projects are great when you want them. When they're there to prove something, to yourself or to an audience, they're just more work.
#Engineers share the blame
I'm going to be harsh here, including with my past self.
A lot of us got into this state because we followed the crowd. We watched the performative grind on social media, people posting their 5 AM routines and their weekend commits, and we felt like impostors for not doing the same. So we copied it. We worked longer to feel like we belonged, and we called it ambition.
Most of those people are selling something: a course, a newsletter, an image. Their routine is content. Your health is not. You don't owe anyone proof that you work harder than them, and the people you're comparing yourself to are often showing you the one hour of the day that looks good.
If you're an engineer who's tired all the time, ignoring a symptom, and telling yourself it's temporary, it's on you to stop. Nobody else is going to do it for you.
#So do companies
But engineers don't build hustle culture alone. Companies benefit from it, and many of them encourage it while pretending not to.
A company that cares about its people doesn't just offer a wellness webinar. It makes sure the workload fits the schedule. Every employee's workload, every week. If someone has to work nights to meet a deadline, the deadline was wrong, or the team was too small, or the scope was too big, and that's a management failure, not a sign of commitment.
No one should ever need to work overtime to keep up with their normal job. It should be a rare exception, and when it happens, someone should be asking why. Overwork shouldn't be something employees have to resist on their own. It should be something the company refuses to allow, deliberately, because it knows what it costs: worse decisions, more bugs, burned-out people, and eventually people who leave.
Managers who praise the engineer who stayed up all night are telling everyone else what's expected. Be careful what you reward.
#Conclusion
I didn't write this to tell you to go to the gym, or to give you a routine. I don't know your body, your family history or your situation, and I'm not a doctor.
What I want is for you to be aware. Aware of how you've been sleeping, of the symptom you keep postponing, of the condition that your body is signaling, of how often you've thought deeply about something this week without asking a model first. Most of the damage I did to myself didn't come from bad decisions. It came from not looking.
Your mind is the tool you're proudest of. It lives in your body. Take care of both, before one of them makes you.
- Thoughts
- Health
- Burnout
- Productivity
- Sleep