News for hackers. Stuff that matters.
Re:Reversing the effects of long programming sessions by jaggederest on Wednesday August 15, 2018 @03:57PM (#17769202)
I've found that the most important thing is not engaging in marathon sessions, full stop. My code is better, I'm healthier, and I get more done per working minute.

Take a break every hour or so, minimum ten minutes, and step away. Make coffee, ponder the infinite, pet your cat, listen to some Chicago or Slayer, whatever suits your preferences.

Re:Reversing the effects of long programming sessions by marcus_holmes on Wednesday August 15, 2018 @10:25PM (#17771420)
My code quality also improves when I limit my sessions to a few hours at most.

After about 8 hours or so, I feel like I'm getting a lot done, but I almost always have to refactor significant chunks of that code later.

If I limit my sessions to implementing one feature or process, and then going away from the screen to think about it more, my results are better.

Re:Reversing the effects of long programming sessions by core-questions on Wednesday August 15, 2018 @04:48PM (#17769641)
> Chicago or Slayer

Really covering a wide gamut here!

Re:Reversing the effects of long programming sessions by jaggederest on Wednesday August 15, 2018 @05:41PM (#17770026)
Mozart to Mötley Crüe, you know how it goes.
Re:Reversing the effects of long programming sessions by mukuro on Wednesday August 15, 2018 @07:32PM (#17770654)
Agreed, and since 99% of programming doesn't even involve writing code, it might be healthier to "program" away from the screen, while going on a walk for example.
Re:Reversing the effects of long programming sessions by tribesman on Thursday August 16, 2018 @05:53AM (#17773286)
> My code is better, I'm healthier, and I get more done per working minute.

It's not about what you are. What market asks is, are you better than others who you can be replaced with? The ones who are ready to scarifice themselves, their health and deliver more code then you. Let's not pretend that his worries are unfounded.