DEV Community

loading...

Discussion on: How to take breaks while coding

Collapse
emkographics profile image
Emko

Call me weird but there is nothing sweeter than snapping out of the flow right when you reach its highest climax during a coding session. That to me is the best time to take a break, right when you dont want to. I'll then hop out of the chair, walk around, and reflect on what i wrote, how i wrote it, and ways to make it better. I also do this when im stuck. By the time i get back to my desk, all hyped and ready to jump back into my element, i have already mentally precompiled my code and forsaw loopholes in my logic so i have a better idea what to do next. Someone also told me that for every hour you sit, you should stand for 10 min. And for every hour you stand, you should sit for 10 min.