Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^4: If Perl 5 were to become Perl 7, what (backward-compatible) features would you want to see?

by Anonymous Monk
on Oct 31, 2019 at 10:09 UTC ( #11108158=note: print w/replies, xml ) Need Help??


in reply to Re^3: If Perl 5 were to become Perl 7, what (backward-compatible) features would you want to see?
in thread If Perl 5 were to become Perl 7, what (backward-compatible) features would you want to see?

In my ever growing MyPAN dependencies don't break because you don't ever have to deprecate. 🕷 The impulse to subtract from software may be an opportunity to expand it in disguise. 🐜 Certain types of bugs can be developed into features rather than trying to eliminate them. 🐛

A recent example on this site was a module that broke another module by deprecating the two-arg form of a method in favor of a new two-arg method, and instead of detecting two-args in the old method and aliasing that to the new method, the use of two-args in the old method was first deprecated then made fatal.

I would never do that because it seems malicious and destructive and aggressive like... code rage! 🎻

Yet some respectable authors of some excellent tools that some of us mere mortals come to depend on do this all the time. They always have a reasonable excuse why I have to add one more character to 5000 lines of code because all of a sudden "Unescaped left brace in regex is illegal"! 2¢ from a humble perl hacker who does not deprecate 💩 and wishes others would be as considerate of their own software. 🌈 🦄

perl -ML -e'print Software::License::Perl_5->new({holder=>join" ",@ARG +V})->notice' Just another Perl hacker
  • Comment on Re^4: If Perl 5 were to become Perl 7, what (backward-compatible) features would you want to see?
  • Download Code

Replies are listed 'Best First'.
Re^5: If Perl 5 were to become Perl 7, what (backward-compatible) features would you want to see?
by Your Mother (Bishop) on Oct 31, 2019 at 16:17 UTC
    I would never do that because it seems malicious and destructive and aggressive [and inconsiderate] like... code rage!

    And I would never ascribe hatefulness and intentional acts of sabotage to people smarter, more capable, or more motivated than I am for creating, maintaining, and improving the tools that afforded me the chance to move from starving artist chump with three part-time jobs to highly paid programmer.

      >> I would never do that because it seems malicious

      > And I would never ascribe hatefulness

      I'm ascribing those qualities to myself, if I were to deprecate, and how it would feel. I don't know why others do it. I just wish they would stop.

Re^5: If Perl 5 were to become Perl 7, what (backward-compatible) features would you want to see?
by soonix (Canon) on Oct 31, 2019 at 12:38 UTC
    Certain types of bugs can be developed into features
    For example so called "security features", or the famous "Heisenfeatures"...?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11108158]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2020-08-13 12:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which rocket would you take to Mars?










    Results (71 votes). Check out past polls.

    Notices?