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

Re^6: ChainMap of Hashes on CPAN?

by LanX (Canon)
on Mar 23, 2013 at 19:31 UTC ( #1025061=note: print w/ replies, xml ) Need Help??


in reply to Re^5: ChainMap of Hashes on CPAN?
in thread ChainMap of Hashes on CPAN?

ties are slow so no problem using a custom class.

And you only implemented the lookup.

I don't think it's worth making this core like they did for Py3, but having a well documented module on CPAN seems more efficient than writing, documenting and testing own code.

I'm a big fan of lazy data structures and having such a tool in the box always opens the path to new uses cases.

At least this way seems appropriate if one of the chained hashes is itself a tied structure.

Cheers Rolf

( addicted to the Perl Programming Language)


Comment on Re^6: ChainMap of Hashes on CPAN?
Download Code
Re^7: ChainMap of Hashes on CPAN?
by BrowserUk (Pope) on Mar 23, 2013 at 19:51 UTC
    but having a well documented module on CPAN seems more efficient than writing, documenting and testing own code.

    I disagree completely, and bad justifictions don't make the case.

    Adding to the clutter of never-used modules that make up 50%+ of CPAN doesn't help anyone. Nor Perl's cause.

    Better to have only 5000 useful modules than 25,000 of which only 20% are useful.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
      > Better to have only 5000 useful modules than 25,000 of which only 20% are useful.

      Yeah, you're right!

      I fully support you starting BukPan - a server with personally approved modules! =)

      Cheers Rolf

      ( addicted to the Perl Programming Language)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (11)
As of 2014-10-31 15:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (219 votes), past polls