Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: Can I please have *simple* modules?

by creamygoodness (Curate)
on Nov 23, 2005 at 15:40 UTC ( #511133=note: print w/replies, xml ) Need Help??

in reply to Can I please have *simple* modules?

The pressure exerted by a user base towards Feeping Creaturism can be intense. For an example, see the CPAN reviews for List Util.

Users have supplied some very sophisticated patches for a contribution of mine to the "simple modules" group, Sort::External. I wrote the Sort::External::Cookbook rather than integrate one of them. It can be challenging to balance showing appreciation for people's contributions with the need to keep a module's interface streamlined and its documentation brief.

For Ovid and me and everyone else to "have simple modules", first they have to be written, and then they have to stay simple after they're written. I'd like to raise a pint to Graham Barr for keeping List::Util uncluttered.

Marvin Humphrey
Rectangular Research ―
  • Comment on Re: Can I please have *simple* modules?

Replies are listed 'Best First'.
Re^2: Can I please have *simple* modules?
by Perl Mouse (Chaplain) on Nov 23, 2005 at 16:04 UTC
    I don't think that "simple" equals "only doing a few things". I don't think List::Util is much simpler than POSIX. They are both modules with a collection of subroutines. And while the POSIX module has the potential of doing a lot more than Class::MakeMaker - it's much simpler.

    Adding functions to POSIX or List::Util doesn't make the modules more complicated - it doesn't become harder to use the new functions, neither does it make the existing functions harder to use. You just use the module, and list the subs you want to use. Class::MakeMaker suffers from the problem that there are so many ways of doing related things, that's why there's a lot of 'configuration' necessary, and that's what makes it complicated.

    Perl --((8:>*
      I don't think that "simple" equals "only doing a few things".

      Maybe not, but it helps. Compare what happens when you perldoc POSIX with what happens when you perldoc List::Util.

      A cacaphony starts with a single "feep". You have to draw the line.

      Marvin Humphrey
      Rectangular Research ―
        Compare what happens when you perldoc POSIX with what happens when you perldoc List::Util.
        Let's see. When I do 'man List::Util', I hit a slash, type the name of the function I want the manual of, hit return, and it appears. When I do 'man POSIX', I hit a slash, type the name of the function I want the manual of, hit return, and it appears.

        No difference. All the functionality of function in either POSIX or List::Util doesn't interfere with each other. That's why POSIX is simple. Sure, it has a lot, but it's still simple.

        Perl --((8:>*

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://511133]
[james28909]: im not quite how to explain it any better nick. you evolved from ignorance to intelligence. not the other way. the universe evolves from gas coulds and debris into planets stars and galaxies ect. it doesnt happen any other way. hence it has ....
[james28909]: some kind of logic behind it
[james28909]: and that is also anothe rpoint i made, i think it has to do with perception of the world around you. most people think of evolution on a human scale. why could life evolve on this planet? because this planet evolved in this solar system. and so on.
[holli]: here's something for you to watch, James. I think you will like it
[erix]: for the record: I have not downvoted anyone on that subthread that was my fault
[james28909]: there are all kinds of things that had to happen to let life come to be. but at the same time, life may not be the end goal IF there is any kind of end goal lol
[james28909]: well who is the person who gets to decide which behaviour is worthy of a downvote? a person with their own beliefs? xD
[erix]: teleology -- I've never understood why that was thunk up
[erix]: ( and when teleology was brought up, during my biology-study., I couldn't get an answer either )
[1nickt]: FTR I agree with you about "design." Just not sure about the trajectory of evolution. THere are a lot of dead-ends in the evolutionary paths. I suspect homo sapiens is just one of them.

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (15)
As of 2017-12-15 14:35 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (433 votes). Check out past polls.