Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: List::Compare

by davorg (Chancellor)
on Jun 09, 2004 at 08:19 UTC ( [id://362647]=note: print w/replies, xml ) Need Help??


in reply to Re^2: List::Compare
in thread List::Compare

My feeling then was that the fact that the lists being compared were real-world data sets (I can hear my boss saying, "Get me a list of ...") was more relevant to its naming than the fact that the lists were placed into arrays before being passed to the constructor.

Guess we'll just have to agree to disagree on that then. I spend a lot of time helping out on Perl beginners' forums and one of the most common errors I see is the confusion between lists and arrays. Having that confusion backed up in the name of a CPAN module doesn't really help matters.

I'm seriously considering deprecating Array::Compare in favour of Data::Compare. If I do, would you like to take over Array::Compare so you can use the name for your module?

--
<http://www.dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg

Replies are listed 'Best First'.
Re^4: List::Compare
by jkeenan1 (Deacon) on Feb 18, 2006 at 22:12 UTC
    It was only today that I saw that many moons ago davorg wrote:

    I spend a lot of time helping out on Perl beginners' forums and one of the most common errors I see is the confusion between lists and arrays. Having that confusion backed up in the name of a CPAN module doesn't really help matters.

    I concede the point. In hindsight, I probably should have called it Set::Compare (which apparently is still unspoken for!). That name could have encompassed comparisons of arrays and comparison of seen-hashes, both of which List::Compare can do.

    But people are using List::Compare in production, so I think changing the name would only add to the confusion. (I have changed the names of other CPAN modules in response to feedback from other Perl hackers, so I'm not just being persnickety.)

    What I can do is, since I've now got a mailing list for List-Compare, to add this as an FAQ.

    Jim Keenan

      You could rename the module and put a stub called List::Compare into the new distribution. The stub would just defer to Set::Compare (after throwing a warning, when warnings are enabled). That would allow a completely seamless upgrade.

      Makeshifts last the longest.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-04-24 19:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found