The hardest part for me is changing context. I can endure 8-12 hours of pure programming but I'm having difficulties handling a meeting after lunch then going straight back to programming. If I don't take breaks, I usually just browse Facebook or some social media until I have enough mindless "reboot" time to get back on track. And I do get your point, it doesn't feel like a real break at all, indeed.
The most effective technique for me however is going down our building and taking a walk outside. I sometimes meditate in a park nearby. This really helps me empty my mind, and it's also a good way to rest my eyes.
For breaking in between bursts of programming, I operate by having small talk with my officemates or just eating a snack.
How about you?
The small talk is not always an option to me (I'm alone in my office) and my other colleagues have their own projects and schedules, so I don't like barging in just to talk. Even classical coffee breaks are not a thing were I work.
Going out for a walk could be a good break, but then I should find someone to do it with me, or I'll get bored after a few times.
Meditation (which I do and enjoy at others times of the day) would surely do, I'll give it a shot... when I'll be rested enough, right now I would just fall asleep trying 😁
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.