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

We can arrange for approximately equial... ,P.

The quote is the beginning of some kind of infomercial type justification for writing parent::versioned, you dont need it

ALso, name seems a tad long, parent::v or parent::mv ...

Replies are listed 'Best First'.
Re^4: parent::versioned supports minimum version specification in parent classes
by davido (Cardinal) on Aug 06, 2019 at 03:12 UTC

    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

      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