http://www.perlmonks.org?node_id=1020384


in reply to Re^15: Is there any difference between prototype % and @ ?
in thread Is there any difference between prototype % and @ ?

nice, but

  1. doesn't even try to use the hmap or hgrep you defended for so long
  2. you needed to introduce a completely new function hpairs
  3. still needs a unhpairs to flatten LoA before assigning after chain to a new hash
  4. my hmap could already be used instead of your hpairs (and unhpairs) in this approach ...

Let's count, you're going to introduce 5 new functions where I only need 3 to cover all discussed cases...

You really hate symmetry, don't you?

Cheers Rolf

Replies are listed 'Best First'.
Re^17: Is there any difference between prototype % and @ ?
by BrowserUk (Patriarch) on Feb 24, 2013 at 10:16 UTC

    1. doesn't even try to use the hmap or hgrep you defended so long

      I made no attempt to "defend". There is nothing to "defend".

      I offered an alternative, With reasoning. (I'm not forcing anyone to agree; nor use my ideas.)

    2. you needed to introduce completely new hpairs

      I use (or construct) the right tool for the job.

    3. still needs a unhpairs to flatten LoA before assigning to a new hash after chain

      Nothing new required, map serves the purpose perfectly.

    4. I could already use my hmap in your solution, so no need to create hpairs

      Look as hard as I might; I can't find your definition of hmap?

    5. you really hate symmetry, don't you?

      Nope! I "hate" very little. (And is that less "personal" that my recognising your ability?)

      But I do not seek to artificially impose symmetry where it does not naturally belong.


    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.
      LOL

      > I can't find your definition of hmap?

      Strange ... I always rated you as one of the more adept perlers.

      hmap was left as an exercise

      Cheers Rolf

        hmap was left as an exercise

        Ah. So you haven't actually posted the hmap definition that you use as a keystone of your argument. Thought so.

        I always rated you as one of the more adept perlers.

        Adept yes. Prescient no,


        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.