DEV Community

Discussion on: Average daily coding time of a developer

Collapse
 
bgadrian profile image
Adrian B.G.

Around 4-5h for the most optimal days.

Less if I had to take care of the management part, more if I had to write new systems/libraries/algorithms.

I did some tests on myself (and observing my peers), over the years, involving productivity and most of the time, more hours means more code, but less productivity. The extra time was mostly spent

  • debugging (because is more code, more the mess, harder to find the bugs)
  • refactoring (I was too deep into the problem, didn't saw the easy way)
  • rewriting (I didn't took enough time to understand and solve the issue BEFORE coding)

The statements apply to experienced developers. In the first years as a programmer I was coding 13/8 hours :))