OT: Programming Productivity

Hello list,

I know it is a little bit off topic but I was wondering what was the average productivity of the people here…
I know Lines Of Code is not a good metric but it will suffice.

How many line of code do you write on an average good day?

Thank you in advance.

Peter.

···


There is NO FATE, we are the creators.

Hi Peter,

I think lines of code is no good measurement at all. I wrote a lot of
lines of code a few weeks back, because I made a design misjudgment,
so in terms of how much further I got in my project, was actually ZERO
while I did (re)write a lot of code hence made a lot of lines to fix
my error :wink:

I think productivity can be measured in how fast something is
accomplished, not related to the lines of code you write. If I need
to write a new dialog, and I can do that in 5 minutes instead of in
C++, 20 minutes (for example) then my productivity is much higher in
Python because I can accomplish more in the same time. And now that I
am getting to know wxPython some better I have to agree I am more
productive, but I am also more strict in my design because refactoring
usually does not come with such a high penalty. The end result is a
more robust application, and it's done faster then I normally would
get it done in wxWidgets / C++.

- Jorgen

···

On 6/15/07, Peter Damoc <pdamoc@gmail.com> wrote:

Hello list,

I know it is a little bit off topic but I was wondering what was the average
productivity of the people here...
I know Lines Of Code is not a good metric but it will suffice.

How many line of code do you write on an average good day?

Thank you in advance.

Peter.
--
There is NO FATE, we are the creators.

Message
I can’t measure my productivity in lines of code. Not even as a rough estimate.

Is a day where I write 500 lines of crap more productive than the next day where I reduce it to 300 lines (net “productivity” of -200 lines) that WORK?

Is a day spent testing and debugging, with important bug changes but only a few lines of code, less productive than the day I created those bugs in the first place? It’s apples and oranges; both tasks are essential.

A day spent planning (0 lines of code) that saves me a week of coding (where potentially thousands of lines could have been written) is one I’d consider really productive.

If I can accomplish the same task in 10 lines of Python or 100 lines of C++, is C++ 10 times more productive than Python?

Having said that, I don’t know how to answer your question about how much I get done on an “average good day.” I know I add features and fix bugs faster now than on previous projects in other languages. Some of that is that I’ve learned a few things, but some of that is Python and wxPython.

David

···

Hello list,

I know it is a little bit off topic but I was wondering what was the average productivity of the people here…
I know Lines Of Code is not a good metric but it will suffice.

How many line of code do you write on an average good day?

Thank you in advance.

Peter.

There is NO FATE, we are the creators.

:">

I ended up reading
http://discuss.fogcreek.com/joelonsoftware/default.asp?cmd=show&ixPost=138624

I should have google before posting that silly question.

Thank you anyway for your answers.

Peter.

···

On 6/15/07, David Woods < dwoods@wcer.wisc.edu> wrote:

I can’t measure my productivity in lines of code. Not even as a rough estimate.

Is a day where I write 500 lines of crap more productive than the next day where I reduce it to 300 lines (net “productivity” of -200 lines) that WORK?

Is a day spent testing and debugging, with important bug changes but only a few lines of code, less productive than the day I created those bugs in the first place? It’s apples and oranges; both tasks are essential.

A day spent planning (0 lines of code) that saves me a week of coding (where potentially thousands of lines could have been written) is one I’d consider really productive.

If I can accomplish the same task in 10 lines of Python or 100 lines of C++, is C++ 10 times more productive than Python?

Having said that, I don’t know how to answer your question about how much I get done on an “average good day.” I know I add features and fix bugs faster now than on previous projects in other languages. Some of that is that I’ve learned a few things, but some of that is Python and wxPython.

David

Hello list,

I know it is a little bit off topic but I was wondering what was the average productivity of the people here…
I know Lines Of Code is not a good metric but it will suffice.

How many line of code do you write on an average good day?

Thank you in advance.

Peter.

There is NO FATE, we are the creators.


There is NO FATE, we are the creators.

Hi Peter,

Peter Damoc wrote:

Hello list,

I know it is a little bit off topic but I was wondering what was the average productivity of the people here...
I know Lines Of Code is not a good metric but it will suffice.

How many line of code do you write on an average good day?

As everyone expressed just to count lines is probably not getting you anywhere.

Some years ago I was given a book by Robert B. Grady "Software metrics: Establishing a company wide program", while I never had the opertunity to really apply any of it I think it has some good ideas, especially for larger development teams.

If you search on google for "grady software metrics" you will find some of his more recent books and some other links which might be of interest.

Best regards
Werner

With my current project, I don't worry about lines of code so much as
working features. I try to get one feature a day working on my
project, but I'm limited to a bad memory and sadly, incomplete
documentation, so I have to build a test program to make sure I get
everything working with one widget before moving on.

The project is getting so big I've really lost sight of what I'm
doing, where to focus my efforts on any given day. I blame myself, as
I didn't plan ahead well enough, or with enough specifics to have a
road map.

Josh

···

On 6/15/07, Peter Damoc <pdamoc@gmail.com> wrote:

Hello list,

I know it is a little bit off topic but I was wondering what was the average
productivity of the people here...
I know Lines Of Code is not a good metric but it will suffice.

How many line of code do you write on an average good day?

Thank you in advance.

Peter.
--
There is NO FATE, we are the creators.

--
Josh English
Joshua.R.English@gmail.com

Don’t feel too bad. Whenever you get that “lost” or “floating” feeling and you’re not certain what to work on next, that’s your cue to take anywhere from an hour (or a lunchtime) to a day or two in a different mode. Leave the workstation, sit somewhere comfortable with a pen and paper notepad, even if you don’t write much. Allow yourself not to think in code during this time. Instead devote this time to thinking in overall goals and features, in plain language.

Although having a good roadmap from the beginning is best, you can repair missing parts of a roadmap (or even the lack of an entire roadmap) if you encourage yourself to chip away at it during these planning sessions. Take one any time the immediate goals and subgoals are not clear. That’s not a feeling to be ashamed of; it’s simply a cue to switch from production mode to planning mode for an appropriate amount of time. Then it’s back to production mode and better results.

···

On 6/16/07, Josh English joshua.r.english@gmail.com wrote:

The project is getting so big I’ve really lost sight of what I’m
doing, where to focus my efforts on any given day. I blame myself, as
I didn’t plan ahead well enough, or with enough specifics to have a

road map.

Josh