Keep It Simple, Stupid | |
PerlMonks |
Re^2: RFC: Version::Easyby LanX (Saint) |
on Jul 12, 2020 at 13:20 UTC ( [id://11119209]=note: print w/replies, xml ) | Need Help?? |
Like I already said and Toby explained, backwards compatibility to static parsers is a crucial issue here, and version->declare('VERSION_GOES_HERE') would become just another tribal knowledge. You'll find $VERSION also documented in hundreds of places, fixing old documentation is one of Perl's biggest mortgages. Furthermore could "Version::Easy" be easily bundled into one master module to rule ehm use them all, hence simplifying boilerplates. Compare Modern::Perl. Of course a built-in feature vers v1.2.3; might be more elegant, but this could easily be introduced later on top of this semantics once the tool chain is modernized.
Cheers Rolf
In Section
Meditations
|
|