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

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!

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

Replies are listed 'Best First'.
Re^6: parent::versioned supports minimum version specification in parent classes
by stevieb (Canon) on Aug 06, 2019 at 23:37 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."

    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.

Re^6: parent::versioned supports minimum version specification in parent classes
by Anonymous Monk on Aug 07, 2019 at 02:44 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!

    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.

        But it doesn't support those features now -- doubt it would ever?

        "version" versus "versioned"?

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