[Shootout-list] Re: LOC

skaller skaller@users.sourceforge.net
01 May 2005 16:23:00 +1000


On Sun, 2005-05-01 at 14:27, Alan Post wrote:
 
> > I don't have any great suggestions for how to measure "verbosity"
> > more accurately -perhaps the number of non-whitespace characters? It
> > seems like LOC is too gross a measurement.
> 
> Counting the non-whitespace characters will quickly end up with 1
> character variable names in every program.
> 
> No, I don't have any good suggestions.

One could count 'tokens', eliding some tokens from
the count, or even better weighting them,
even better returning colour code as well,
to drive the highlighting ..

-- 
John Skaller, mailto:skaller@users.sf.net
voice: 061-2-9660-0850, 
snail: PO BOX 401 Glebe NSW 2037 Australia
Checkout the Felix programming language http://felix.sf.net