Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Can I please have *simple* modules?

by Perl Mouse (Chaplain)
on Nov 23, 2005 at 16:04 UTC ( #511146=note: print w/replies, xml ) Need Help??


in reply to Re: Can I please have *simple* modules?
in thread Can I please have *simple* modules?

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:>*
  • Comment on Re^2: Can I please have *simple* modules?

Replies are listed 'Best First'.
Re^3: Can I please have *simple* modules?
by creamygoodness (Curate) on Nov 23, 2005 at 16:49 UTC
    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 ― http://www.rectangular.com
      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:>*
        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.

        There's no difference if you know exactly what you're looking for.

        Ovid $ man POSIX | wc -l
            1622
        Ovid $ man List::Util | wc -l
             159

        You're assuming the person knows what they're looking for. If they don't and they have only a vague notion that the package in question supplies what they need, it can be a long slog indeed to find the answer. Searching for poorly named functions is harder. Verifying the behavior of complicated functions is harder. I'm not saying shorter/simpler is better, but it's often easier to work with.

        Cheers,
        Ovid

        New address of my CGI Course.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://511146]
help
Chatterbox?
[Corion]: If you cram your slides with that much information, they might work in an "offline" situation but not very well for a live presentation IMO
[ambrus]: Corion: in that case I also ask the people who rent the conference rooms to tell conference organizers about the available tech.
[Corion]: ambrus: No, you're misunderstanding. If you place content too far on the left/right/top/ bottom, people might not see it because the view is obstructed ;)(
[Corion]: In Amsterdam, the screen went down to the bottom of the stage (60cm above ground) and the seating was on the ground, meaning that the rows in the back couldn't see the bottom of slides.
[Corion]: There also were some columns that meant that maybe you couldn't see the left/right edge of a slide.
[ambrus]: Corion: Sure. I've had a course in a 50 seat lecture hall that has two fucking columns in the middle.
[Corion]: Talking about it, the top should be fairly visible in the situations I've experienced at least. The top is uncomfortable for people in the first three rows, but that's life ;)
[ambrus]: The pillars are there because this is in the 6th floor of building R of BME, which is an attic that was built in after the original building, which is also why the elevator doesn't go that high and the windows are tiny.
[Corion]: ambrus: Hehe ;) Yeah - such real life stuff is far more inconveniencing than wasting display area due to screen ratio problems :)
[ambrus]: Corion: yes, it's a bit tricky. you can try to adjust the slides live to cover only a part of the screen, but it's still hard.

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (12)
As of 2017-09-26 10:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (293 votes). Check out past polls.

    Notices?