comp.lang.ada
 help / color / mirror / Atom feed
From: g_harrison@vger.nsu.edu (George C. Harrison, Norfolk State University)
Subject: Re: LOC Lines of Code debate
Date: 28 Mar 91 10:36:36 GMT	[thread overview]
Message-ID: <785.27f18ef4@vger.nsu.edu> (raw)
In-Reply-To: "910326054349.71660.412.CHE55-1"@CompuServe.COM

In article <"910326054349.71660.412.CHE55-1"@CompuServe.COM>, 71660.412@CompuServe.COM (Eric C Aker) writes:
> I just have to get in to this debate.
> When I was working for a major airplane company some years ago all of
> the programmers were told to give a LOC count in each weakly (sic) 
> report. Of course a tool was written to automatically count lines and
> give differences from last week. We all grumbled and one of the
> programmers came up with this great analogy.
> 
> "Measuring progress on a SW project in lines of code is like measuring
> progress on an airplane in pounds of aircraft designed. Would any
> serious manager ask his aircraft designers how many pounds of airplane
> did you design this week? It is true that after the aircraft is done
> you can compute productivity in pounds of aircraft per manday, but it
> is not a very useful number."

Excellent analogy!

The problem is measuring the progress of an intellectual product.  LOC is often
used in management metrics; they, after all, have to be concerned about the
bottom line.  

The problem as I see it is that often LOC measure very little.  In many cases,
of course, there is a relationship:  a 100,000 LOC program is probably more
difficult and complex than a 1000 LOC program.  There are some good empirical
studies out there to suggest this.  However, we've all written programs that
are several hundred lines long - including design, testing, etc. in a few
hours, and we've written 40 LOC that may have taken weeks to develop and test.

So, the question remains (and I'd like to have some answers for my Software
Engineering class)....  What is a good measure of programmer productivity?

(The only one I can think of is the amount of coffee/Mountain Dew/JOLT consumed
per hour.)

-- George C. Harrison                              -----------------------
----- Professor of Computer Science                -----------------------
----- Norfolk State University                     -----------------------
----- 2401 Corprew Avenue, Norfolk, Virginia 23504 -----------------------
----- INTERNET:  g_harrison@vger.nsu.edu ---------------------------------

  reply	other threads:[~1991-03-28 10:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1991-03-26  5:43 LOC Lines of Code debate Eric C Aker
1991-03-28 10:36 ` George C. Harrison, Norfolk State University [this message]
     [not found]   ` <1991Mar29.193745.21498@linus.mitre.org>
1991-04-01 15:22     ` Robert I. Eachus
  -- strict thread matches above, loose matches on Subject: below --
1991-03-26  5:43 Eric C Aker
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox