All posts

Avoid stress overload – log out and go outside

A laptop full of alerts with an arrow pointing out to hills, trees and the sun

There is always one more ticket, one more alert, one more “quick” fix. And the more AI speeds up the work, the easier it is to just keep going. I’ve learned the hard way that the system that needs the most care is the one sitting in the chair.

This is not a wellness post written from a yoga mat. I like my work. I like building things late at night with music on. That is exactly the problem – when you enjoy it, there is no natural moment where you stop.

Stress builds up like technical debt

A little is fine. It even keeps you sharp. But if you never pay it down, everything gets slower: you sleep worse, you make more mistakes, and problems that should take ten minutes take an afternoon. The tricky part is that you rarely notice it while it’s happening.

It’s the same as a codebase. Nobody decides to write messy code. It happens one shortcut at a time, each one totally reasonable on the day. Then one morning you open the project and everything is held together with tape and a comment that says // TODO: fix later. Stress works the same way. One late night is nothing. A month of them is a refactor.

The signs I’ve learned to watch

  • I read the same line of code three times and still don’t know what it does.
  • Small bugs make me irrationally angry.
  • I check my phone in bed “just to see if anything broke”.
  • Weekends feel like a loading screen before Monday.

When two or three of those show up at once, it’s not a sign I need to work harder. It’s a sign the machine is overheating.

Why outside works

A large study from the University of Exeter, with almost 20,000 people in England, found that people who spent at least 120 minutes a week in nature were much more likely to report good health and wellbeing. And it didn’t matter whether it was one long trip or several short ones.

It’s a correlation, not a cure. But two hours a week is about 17 minutes a day. That is less time than most of us spend waiting for builds.

And it doesn’t have to be a forest. Here in Copenhagen, “nature” is often a park, the harbour or just a street with trees. That counts. The point is getting your eyes off a screen, your body moving and your head out of the loop it’s been stuck in all day.

What I actually do

  • A walk without my phone – the best debugging tool I know. The answer often shows up around the second corner.
  • Lunch away from the screen – and outside whenever the weather allows.
  • Hard stop – notifications off after work. Nothing on fire is fixed faster because I watched it from the sofa.
  • Something with my hands – the 3D printer, the music studio, a table tennis match. Different brain, same rest.
  • Sleep first – no deploy is worth a bad night.

The walk is the one I can’t recommend enough. I can’t count how many bugs I’ve solved somewhere between my front door and the corner shop. Your brain keeps working on the problem in the background – it just needs you to stop staring at it. It’s basically rubber duck debugging, except the duck is the whole city.

while (true) {
  work();
  if (stress > limit) {
    logout();
    goOutside(minutes: 20);
  }
}

“But I don’t have time”

I know. I’ve said it too. But I’ve also spent two hours chasing a bug while tired, and then fixed it in ten minutes the next morning. The time you “save” by pushing through usually gets paid back with interest. A twenty-minute walk is the cheapest performance optimisation you’ll ever ship.

And with AI tools doing more of the typing, the bottleneck is less and less how fast we can produce code. It’s how clearly we can think. A tired brain with a fast AI is just a faster way to make the wrong decision.

When it’s more than a busy week

A walk helps with everyday pressure. If stress sticks around for weeks – trouble sleeping, no energy, a constant knot in your stomach – talk to someone: your manager, a friend, or your doctor. That isn’t weakness. It’s the same thing you would do with any system showing warning signs: look at it before it breaks.

The code will still be there when you get back. Probably with fewer bugs.