bronto asked if "bad [modules should] be stopped before they reach CPAN?"

I would think the answer to that is a resounding "no"! While I won't name any, I do agree that there are some pretty awful modules out there. However, the CPAN has two good things going for it. First, there is competition amongst modules for different ways of doing things. Second, it's pretty "hands off", which allows new ideas (even bad ones) to be explored.

What constitutes a bad module? When tachyon posted an RFC about a competitor to CGI.pm, many people seemed to suggest to him that he shouldn't upload his module, but they obviously had not looked at it. It's a great module, serves a need, and is a worthy competitor to the CGI.pm module. Had people just gone with their gut reactions, we may never have seen this module and the CPAN would have been a poorer place because of it.

On the other hand, what about older modules that are "bad"? Some feel that File::Find::Rule and File::Finder are better alternatives to File::Find, but no one is suggesting that File::Find be pulled down (or that Data::Dumper be removed in favor of YAML). Maybe some would argue that Pixie eliminates the need for Class::DBI, Tangram and others. It's certainly easier to use, but it does not mean that those other modules don't have their place.

I don't want to take away the competition of the modules on the CPAN. The current rating system is interesting, but even though many people write to me and tell me that HTML::TokeParser::Simple is much easier to use than HTML::TokeParser, I've yet to be rated on it and I don't if that really matters. Consider that if a replacement module comes along, gets little advertising, perhaps people would still use the original module because it has plenty of "good" reviews. The latter example highlights the problem: there is no substitute for a programmer's judgment. Popularity ain't everything :)

Cheers,
Ovid

New address of my CGI Course.


In reply to Re: What do we mean with "CPAN pollution"? by Ovid
in thread What do we mean with "CPAN pollution"? by bronto

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.