in reply to Re^3: parent::versioned supports minimum version specification in parent classes
in thread parent::versioned supports minimum version specification in parent classes

Fair enough on the wording. I've trimmed the post down a bit. Unfortunately that might make these comments seem out of context, but you're right, less is more.

As for the module name, I agree it's longer than I would prefer, but it's a name that describes its purpose better than ::v or ::mv, or any other name I could come up with as I was working on it. I could let the parent::versioned distribution provide parent::v, for those who wish to save some keystrokes. I'll keep the thought opened to see if any consensus arrives.


Dave

  • Comment on Re^4: parent::versioned supports minimum version specification in parent classes

Replies are listed 'Best First'.
Re^5: parent::versioned supports minimum version specification in parent classes
by Your Mother (Archbishop) on Aug 06, 2019 at 14:27 UTC

    Your sensibility is perfect I think. Short variable names / descriptors are false economy. They waste 10x more developer time in squinting, guessing, look-ups than they save in typing or appease in decorative sensibility. parent::versioned is straightforward and clear. parent::v, without already knowing the proper context, is the opposite. Thanks for the module!

      "Your sensibility is perfect I think. Short variable names / descriptors are false economy. They waste 10x more developer time in squinting, guessing, look-ups than they save in typing or appease in decorative sensibility."

      I can't agree more with this. I write in several languages, and across all of them, I can present a consistent example: It sucks when someone creates a function/method named something like vm() in the context of actuating/instantiating something in a Virtual Machine API, come to find after digging for 30 minutes that it means vacuum manipulation, completely irrelevant to what you'd think it means.

      A few extra keystrokes in a function name goes imho a long way in not having to delve deep in many cases.

      This is a well thought out addition to the existing functionality. I like how you've ensured 100% test coverage across everything, even the 'parent' ;)

      Good job davido, thank you.

      Your sensibility is perfect I think. Short variable names / descriptors are false economy. They waste 10x more developer time in squinting, guessing, look-ups than they save in typing or appease in decorative sensibility. parent::versioned is straightforward and clear. parent::v, without already knowing the proper context, is the opposite. Thanks for the module!

      Why not parent::minver? "versioned" doesn't say minimum version

        Why not parent::minver? "versioned" doesn't say minimum version

        Because that would rule out maximum version, specific version, list of versions, and version ranges. Overly specific is worse than overly terse.

        'Versioned' is the correct word, for the arguments already stated.

        Alex / talexb / Toronto

        Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.