Uri Guttman wrote:
>   Greg London wrote:
>   G> Someone needs to write a code analysis tool to measure the
>   G> complexity and general unreadability of a piece of perl code.
> judging perl golf is easy. just use length(). :)
> the way you want to judge code is subjective   ....
> and then who judges the judges? :)

perl Golf judging entails reading in a script 
and running it through some pre-determined 
algorithm to come up with a score.
shortest count wins, reflecting the script 
with the shortest code length.

perl Style judging entails reading in a script
and running it through some pre-determined 
algorithm to come up with a score.
lowest score wins, reflecting the script 
with the best coding Style.

there is no judging of the judges,
the script is predetermined in both cases.

You've got three factors to play with:
size, speed, and quality

you can pick any two.

it's ALL subjective, by the way.
size, speed, and quality are ALL made up,
subjective terms. its just that 
size and speed map much more easily
into objectively measured metrics.

mapping "quality" into a objective measure
would be difficult, but would  then make
it easier for programmers to evaluate
where there script is in the 
speed/size/quality triangle.

Greg London
_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to