On 10/12/2016 02:30 PM, David Cantrell wrote:
On Tue, Oct 11, 2016 at 07:27:03PM +0200, Peter Rabbitson wrote:

- Shoving FATAL-ized warnings down CPAN's users throats. After years of
incessant pushback finally semi-relented[1], but still continues to
insert it into his CPAN projects to this day.

This is not necessarily a bad thing.

In fact I've done it myself. First I deprecated a feature in the
documentation. Then a while later I made it emit a warning. Then another
while later I got rid of it which, if people were still using the
deprecated feature, made their code die.

I was referring to something completely different. Please read [1] and possibly [2] for a more in-depth look into that particular chapter.

Getting rid of the deprecated
features made the code simpler and easier to understand, and so less
likely to be a bug-laden piece of crap.

Or one can simply do something like [3], and (at zero cost to future maintenance) prevent an entire class of late-night head scratchers


[1] https://metacpan.org/pod/release/RJBS/perl-5.24.0/regen/warnings.pl#Fatal-Warnings
[2] https://rt.cpan.org/Public/Bug/Display.html?id=93004
[3] https://github.com/dbsrgits/dbix-class/blob/dc7d8991/lib/DBIx/Class/Storage/DBIHacks.pm#L919-L961

List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk

Reply via email to