DEV Community

Discussion on: Is coding a Sprint or a Marathon?

Collapse
 
daleran profile image
Sean M Davis

This is definitely something that takes experience to learn about yourself. You will find that you will actually be more productive by pacing yourself. I used to work through lunch and work late trying not to break my productivity streak. Nobody wants to stop when they feel they are on a coding roll. Yet I was always busting deadlines and I felt unproductive.

Taking a full lunch breaks and spending time on professional development like new technologies actually increased the amount of work I could do when I was coding.

Collapse
 
dvddpl profile image
Davide de Paolis

yes. taking time to learn is fundamental. taking time to recover or enough breaks as well. (I learned it recently from sports. I always want to train and do stuff, but - especially getting older - your body needs (at least one) a rest day to fully recover and grow.
lunch in front a computer is never good.
and if you are stressing out for a bug you can't solve... most of the time is better to take a break and go play kicker or tennistable - come back with a fresh mind and nail it!