Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Dancer2- "hard deprecation" of code same as "removal"?

by parv (Vicar)
on Dec 29, 2021 at 07:49 UTC ( #11139999=perlquestion: print w/replies, xml ) Need Help??

parv has asked for the wisdom of the Perl Monks concerning the following question:

(Also on Twitter: https://twitter.com/_parv/status/1476073995598323714)

In Define the Dancer2 Deprecation Policy #1635, could somebody tell me how "hard deprecation" of some code ...

Hard Deprecation

After 12 months or two major releases (whichever comes first), the code is considered to be hard deprecated. An error will continue to be thrown, but unlike soft deprecation, continued usage of the deprecated code will cause the application to die. ...

... is effectively not "removal" if an application would die after "hard deprecation" has been implemented? (earlier discussion referenced in there)

On top of that, there is another 6-month wait for the actual removal of the (hard) deprecated code.

  • Comment on Dancer2- "hard deprecation" of code same as "removal"?

Replies are listed 'Best First'.
Re: Dancer2- "hard deprecation" of code same as "removal"?
by Corion (Patriarch) on Dec 29, 2021 at 08:02 UTC

    I would guess that having the original code still there allows you to locally patch the module file, or monkeypatch the functionality...

Re: Dancer2- "hard deprecation" of code same as "removal"?
by ikegami (Patriarch) on Dec 29, 2021 at 14:50 UTC

    It means you get a nicer error message than "Undefined subroutine &f" for 6 months.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11139999]
Approved by Discipulus
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2022-12-07 17:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?