Front page | perl.perl5.porters |
Postings from July 2016
Re: Indented here docs?
Thread Previous
|
Thread Next
From:
Sawyer X
Date:
July 18, 2016 08:18
Subject:
Re: Indented here docs?
Message ID:
578C90D3.7090300@gmail.com
On 07/17/2016 11:56 PM, Abigail wrote:
> On Sun, Jul 17, 2016 at 02:12:23PM -0400, Ricardo Signes wrote:
>> * "Matthew Horsfall (alh)" <wolfsage@gmail.com> [2016-07-17T09:20:23]
>>> Perl policy says:
>>>
>>> =item deprecated
>>>
>>> If something in the Perl core is marked as B<deprecated>, we may remove it
>>> from the core in the future, though we might not. Generally, backward
>>> incompatible changes will have deprecation warnings for two release
>>> cycles before being removed, but may be removed after just one cycle if
>>> the risk seems quite low or the benefits quite high.
>>> [...]
>>> I think it would be unfair and surprising to rip out the deprecated
>>> syntax in this release without at least 1 release with a notice
>>> stating our intent.
>> In July 2013, Ed Avis posted a list of things that had long been deprecated,
>> and I began working through that list to get them removed or undeprecated.
>> In no case where we removed something did we say, "it's been warning everywhere
>> we want to remove, but we better wait one extra year."
>>
>
> I'm wondering, perhaps the undetermined period a feature can be deprecated
> isn't the best idea. Perhaps when we deprecate a feature, we should also
> determine when the feature will be deleted. This can even be shown in
> the error message:
>
> %s is deprecated and will no longer be available in perl 5.30 or beyond.
I like this idea.
Thread Previous
|
Thread Next