2 ms·
I also vote for maybe 5-6 hours on average. That's "active" programming time, meaning things like designing with software tools or pen/paper, literal programmi
by Silhouette 12y ago
I also vote for maybe 5-6 hours on average.
That's "active" programming time, meaning things like designing with software tools or pen/paper, literal programming time where I'm bashing on a keyboard and compiling stuff, and immediate testing activities.
I'm not including things like time for running automated testing suites, making general notes, or overheads like calls, meetings, and reviewing specs. I don't find these activities detract from my concentration on detailed technical tasks in most cases.
I've noticed that if something really grabs my attention -- maybe because it's a very interesting part of the system or maybe because it's an urgent bug fix or a huge deal is riding on it for my client -- I can do detailed technical work for considerably longer without suffering a drop in either equality or productivity, but these are exceptional cases and in short bursts for maybe a day or two at a time. It's not a level I can sustain for multiple weeks.
(Edit: To answer the question about contracts, if I'm billing on a time and materials basis then my contractual wording normally says I can bill the daily rate for any date on which services are provided, without reference to how exactly I will provided the services or any specific hours or number of hours. Sometimes this raises eyebrows when people first see it, usually if they are used to working with other people who bill by the hour. However, my experience has been that no serious prospect objects to the point of losing a deal over it, nor has it created any lack of trust or bad feeling once a client sees how it really works. In practice, I sometimes work only a couple of hours in a day because something has been held up on my client's end, and I think my record was something like an 18 hour day involving significant travel, and I would charge the same for both. At some point you just have to be sensible about these things and trust that it will work out fairly overall.)