How a One-Hour Daily Habit Improved My Programming and Life

The Resolution

At the start of 2024, I made a New Year's resolution: walk every day for at least one mile. The goal was weight loss. That was it.

I didn't expect much more than that. What actually happened surprised me.

The Mental Shift

After about two weeks, I noticed something odd. a problem I'd been staring at on and off for an hour would suddenly click the moment I sat back down after a walk. It wasn't magic. My brain needed space to work on it in the background. But without the habit of walking, I'd just keep grinding at the same spot for hours.

This is a pattern documented in creativity research. The "incubation effect" describes how stepping away from a problem allows your subconscious to keep working on it. Walking adds movement, fresh air, and a change of scenery to that incubation process — and the combination is what makes it powerful.

Programming Breakthroughs

Sleep got better too. The routine of getting out the door every morning structured my mornings in a way that scrolling through Twitter never would have. And yeah, I lost some weight. Not a dramatic amount. about 8 pounds over six months. but enough to notice when it crept back on during busy periods.

I started bringing my laptop on longer walks and jotting down ideas while moving. Some of them were worth pursuing. Most weren't. But the ones that stuck turned into features I'd have missed sitting at my desk.

Walking also gave me a natural separation between "work mode" and "rest mode." Without it, I'd blur the lines between the two — sitting at my desk at 9pm because I "should" be doing something, when what I actually needed was a break.

How to Start

If you want to try this yourself, here's what worked for me:

Start small. One mile. Ten minutes. Whatever feels achievable. The habit matters more than the distance.

Don't negotiate with yourself. Put on your shoes before you decide whether you feel like it. The resistance always disappears once you're moving.

Leave the phone behind (or on silent). This isn't about step counts or fitness tracking. It's about giving your brain space.

Pair it with something you enjoy. A good playlist, a podcast, or just silence. Make it something you look forward to.

There's a practical takeaway here, even if it sounds obvious: stepping away from the screen makes you better at the thing you're avoiding on that screen. Not because walking is some productivity hack, but because staring at code until 6pm isn't how any of us actually solve hard problems. The solution usually shows up when we're not forcing it.

Related Reading