Live data from Hacker News

Poll: How much of your work time is typing code?

news.ycombinator.com

21–30 of 52 posts

Re: Poll: How much of your work time is typing code?

#24
Isn't this like trying to measure a coastline (approximates a fractal at larger scales).

The finer interval that you measure the smaller the percentage will be:

Level1: I spend 4 days out of five coding (80%) Level2: I spend 4 hours out of 8 on those days (40%) Level3: I spend 2 hours out of those 4, bathroom breaks, code sketching, extended thinking time (20%) Level4: I spend 1 hour out of those 2, reading notes as you type, interruptions, "fatigue" pauses (10%) Level5: I spend 20 mins of that hour, pauses between keypresses, etc.. (3%)

So it's either 80% or 3% depending on your zoom level.

Re: Poll: How much of your work time is typing code?

#26
post #3

I try not to start writing code until I am at the point where it's pretty much just typing. It doesn't always work out this way, and it isn't necessarily always the right move, but it forces me to have a really clear mental model of the problem in question before I start committing things to paper (so to speak), which typically saves a refactoring or two down the road.

I usually end up doing a lot of the thinking about the problem while talking to whoever is requesting it. That's the only way to guide them to easier, cheaper, cleaner paths. There's still a lot of finer details to work through, but it's usually enough to get started coding.

I do something similar. About 10 years ago or so I decided to force myself into writing the results of that sort of interaction down in a notebook, which forces me to rethink it as I convert it into user stories. This explicit step of recapitulating the same ideas repeatedly has had a lot of positive benefits for me.

Re: Poll: How much of your work time is typing code?

#28
This is poignant as I just left a 3 hour scrum "sprint planning" meeting. I'm reminded of what Hal Abelson wrote in his recent Code Quarterly interview with Peter Seibel:

"I’ve decided that from now on, I should be measuring the quality of my life by the ratio of the amount of time spent programming to the amount of time sitting in meetings."

http://www.codequarterly.com/2011/hal-abelson/

Re: Poll: How much of your work time is typing code?

#30
I have been programming since I was 13. But now that I'm in my late 20's, like a lot of developers, I've moved into the management side. It feels weird sometimes to ship a project that I have been working on for weeks but not actually contributed any code to, but at the end of the day there is a shortage of good project managers so somebody has to do it.

For me it's 1%.

Post reply on HN