Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Re: CPAN Module Evaluation Red-Flags

by bsb (Priest)
on Jul 28, 2003 at 07:18 UTC ( #278358=note: print w/replies, xml ) Need Help??


in reply to Re: CPAN Module Evaluation Red-Flags
in thread CPAN Module Evaluation Red-Flags

Must ... not ... bite, ... being ... trolled ... nooo...

A) Prejudices/Heuristics aren't 100%. 1 Red flag != bad. 10 red flags == probably bad.

B) HTML::* and CGI::* just seem to acquire more flaky modules than B::*, Devel::* or IO::*. I can't imagine why that would be...

C) This evaluation is simply on the docs or README. Testing or it's absence is rarely evident

  • Comment on Re: Re: CPAN Module Evaluation Red-Flags

Replies are listed 'Best First'.
Re: Re: Re: CPAN Module Evaluation Red-Flags
by Anonymous Monk on Jul 28, 2003 at 18:13 UTC
    Must ... not ... bite, ... being ... trolled ... nooo...

    Criticizing a method of evaulation while offering constructive suggestions is hardly a troll. What did you expect: "Golly, gee bsb, you sure are smart with your module red-flags and what-not, great work. I hope someday I can be as smart as you." (now that's the beginning of a good troll, but I'll get to the point)

    HTML::* and CGI::* just seem to acquire more flaky modules than B::*, Devel::* or IO::*

    90% of everything is garbage. This applies to modules as well, and since I'd wager there are way more HTML::* modules out there, and there's only so many useful ones that can be written, you get a lot of crap. Very few people are going to write an B::* program as their first module. It's the same reason why there's so more much crud Perl code around than python or ruby. More people, more crappy code. Simple.

    Testing or it's absence is rarely evident

    Automated tests should be provided.

      Boy I really wish you werent anonymous. I'd follow your posts otherwise. Please consider using a nick for your posts. That way folk like myself can keep up with what you have to say.

      90% of everything is garbage

      This is one of my favorite lines. I first heard it in context of Science Fiction "90% of everything is crap, do you expect Sci-Fi to be any different". My only beef wold be that I bet CPAN has way better odds. My own estimate is that its more like 50% of CPAN is crap (including at least one module I've posted myself). Which in of itself is somewhat impressive.

      It's the same reason why there's so more much crud Perl code around than python or ruby.

      Is this really true on a percentage basis? I'd bet it isnt... (And hope to hell im right :-)

      Get yerself a nick buddy. Youll be just as anonymous as "some_snarky_perl_programmer" as you are as anonymonk. :-)
      ---
      demerphq

      <Elian> And I do take a kind of perverse pleasure in having an OO assembly language...

        Is this really true on a percentage basis?

        Hats off to anyone who can find an objective answer to this question. I really have no idea, my fairly uneducated estimate is based on the following:

        1. Based on what I've seen, much more Perl code has been written than Python and/or Ruby code. This is soley based on my own impressions of each language's development community and may not be accurate. Major factors in this guess are the existance of the CPAN for Perl and no viable alternatives for other languages (I'm going to give it a shot in about a month though :).
        2. The related point is, there are only so many ways to write an HTML parser, DBI::easy module, and so on. This doesn't stop people from writing and publishing code though. So what happens is when a development community is in it's initial stages (such as Python - despite being around since 1991) most programmers are attempting to write serious modules that can be built upon. Once the "core" (not as included with the distribution mind you) modules have been written, people expand to writing their own layers on top and you get the HTML::EZDBI::Simple bloated modules that are often poorly written as there is less complexity, and less peer review. So while the core modules for both languages may be of equal quality, the extra stuff on top provides increased noise when searching for existing code.
        3. Perl doesn't create artificial limits on what you can do. This allows you to write very elegant code, but it also allows you to write unmaintainable, sloppy code. You can of course, as the cliche goes, write bad code in any language. The difference is apparent when a novice programmer sits down to write a program. There will be bugs in both languages, but the code written in a less-flexible language will suffer from more inherent design flaws (think variable scoping, not indentation and superficial issues). These design flaws are often not fixed, because they provide the illusion the program "works" but create maintenance problems (and hence, additional bugs) down the road. With less-flexible languages, many more bugs fall into the desireable class of "fix now or it won't work. Period." Keep in mind this obviously does mean everyone writing Perl will suffer the same fate, it applies almost exclusively to novice programmers, which make up a high percentage of any language's user base.

        One more comment:

        (And hope to hell im right :-)

        I'm curious - why? Very high-level programming languages change fairly rapidly. Some languages become bloated, others don't have the necessary features, new languages come along that suit your needs better, and sometimes a specific language is needed for a specific task. Why bind yourself to a single language? To cheer for one language over another seems counter-productive. A language you're using today, won't be the one you use in 5 years* unless you're doing legacy work. New, improved languages will come along to replace them. As soon as this stops happening is the time I start to worry.

        * although it might bear the same name.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://278358]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2021-04-12 01:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?