Counting lines of code

Jason Johnson jason.johnson.081 at gmail.com
Wed Jan 30 19:43:00 UTC 2008


On Jan 30, 2008 8:02 PM, tim Rowledge <tim at rowledge.org> wrote:
>
> And more to the point (unless you need it for some printing out type
> of reason) don't bother. LOC was never a useful measure of anything in
> software and is utterly meaningless in Smalltalk.

I think Fred Brooks would disagree, though you are correct if you mean
that the LOC one types in a day isn't a useful measure of what they've
accomplished.  But how many LOC your project has associated with it is
a good way to determine the cost of the project and pain of
maintenance.  Any time you can reduce overall LOC while keeping all
functionality that's a gain.

> Some of my most
> productive days have had a LOC count of negative a small number.
> Sometimes the best solution to a problem is to remove code, not add it.

Exactly.



More information about the Squeak-dev mailing list