develooper Front page | perl.perl5.porters | Postings from June 2015

Re: for 5.24: new categories for strict/warnings?

Thread Previous | Thread Next
From:
Rocco Caputo
Date:
June 5, 2015 13:00
Subject:
Re: for 5.24: new categories for strict/warnings?
Message ID:
3A26D896-FB3D-4CB3-B3B5-2D7089131789@pobox.com
> On Jun 5, 2015, at 07:33, Ricardo Signes <perl.p5p@rjbs.manxome.org> wrote:
> 
> * Aristotle Pagaltzis <pagaltzis@gmx.de> [2015-06-05T06:13:08]
>> * Ricardo Signes <perl.p5p@rjbs.manxome.org> [2015-06-03 15:20]:
>>> (Meanwhile, "no warnings;" and "no strict;" should act on 'all', of
>>> course.)
>> 
>> How is it sane for `use foo` and `no foo` to not be symmetrical?
> 
> "Bring me sandwiches."  <-- You don't care what kind you get.
> 
> "Bring me tuna fish sandwiches."  <-- Only one kind.
> 
> "Bring me every kind of sandwich you can imagine."
> 
> "No more sandwiches, please." <-- stops any of the above

If I understand this correctly, you also don't care what kind of
sandwiches you get in the "Bring me every kind of sandwich you can
imagine" case.  Whatever they are, bring them on.

The "Bring me sandwiches" case seems like a "makes life more
interesting" version of "Bring me every kind".  You'll never know
which kinds you won't get until you realize you didn't get them.

The only people who will spin the Wheel of Sandwiches are either
looking for excitement or don't really understand the Wheel of
Sandwiches.

-- 
Rocco Caputo <rcaputo@pobox.com>

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About