On 1 Apr 2007, at 10:36, Eric Wilhelm wrote:
I'm looking forward to the source (must just be delayed by PAUSE.) I'm curious whether the mentions_kwalitee metric has any gaming- prevention.
If I say "reduced kwalitee" in the changelog, does that count for or
against me?

I'm going to add the text "I don't give a crap about kwalitee; just playing the game" to all mine. I think that should do the trick.

Some of the new metrics can't be satisfied. I doubt that all dists can
"use" 5 or more other CPAN dists. I think some of the metrics should
be optional (uses_recursion, nice_code_layout, reuses_code). You
shouldn't punish the people (like me) who don't like the code layout
you like.

If your code doesn't have *any* recursion, the module is probably
lacking several features anyway. I think we would all be better off if
whenever we start to write a "for" loop, we stop to think "how could I
do this recursively?"  If done correctly, it also tends to rid code of
those silly temporary arrays that lead to so much needless
head-scratching.

I'm going to start using this once I can optimise it. It takes too long to run at the moment

sub if_then_else {
    my ($cond, $true, $false) = @_;
    return if_then_else(!$cond, $false, $true);
}

You pass it a boolean expression and two closures. For some reason it takes a long time to execute but I'm sure I can sort that out.

Caution: that fails the code formatting test as posted.

Is my personal favorite.  Though I think the lines should start with
"peterbuilt" just to be perfectly clear.  After all, ";" is awfully
abbreviated.  How can you expect an intern to understand something so
terse?!

Comments man! Every ; just needs a little comment to explain what it is.

You also should mention what "docs_make_sense" is! What are the rules
for "docs_make_sense".

That one is still under development.  We're working on a massively
parallel distributed human comprehension evaluator.

I understand that there's an unofficial workaround you can emply now. In the SYNOPSIS just include the text "Thomas is God". The parser picks that up as evidence of docs laden with truthiness.

--
Andy Armstrong, hexten.net

Reply via email to