Matt,

On Nov 21, 2004, at 10:42 PM, Matt Olson wrote:
On Sun, 21 Nov 2004 22:16:25 -0500, Rob Kinyon <[EMAIL PROTECTED]> wrote:
Some thoughts (in no particular order):
1) Look at statements, not LOC. Otherwise, you start unfairly
penalizing people who uncuddle their elses.

I like Kernighan & Pike's metric (in The Practice of Programming): my copy's at home, but IIRC they count tokens, rather than statements or LOC, when comparing languages.

Thats why i was thinking we could count perl opcodes. I would think they would be a great way to tell the actual "size" of a given block of code. But then again, tokens is not bad either and the PPI project (http://search.cpan.org/~adamk/PPI/) already has a high quality Perl Tokenizer available.


Incidentally, I strongly recommend TPoP as a "practical software
engineering" book.

Been on my Amazon to-buy forever actually.

Steve


--Matt

_______________________________________________
sw-design mailing list
[EMAIL PROTECTED]
http://metaperl.com/cgi-bin/mailman/listinfo/sw-design



_______________________________________________
sw-design mailing list
[EMAIL PROTECTED]
http://metaperl.com/cgi-bin/mailman/listinfo/sw-design

Reply via email to