On Tue, Mar 21, 2017 at 2:37 PM, Patrick R. Michaud <pmich...@pobox.com>
wrote:

> On Tue, Mar 21, 2017 at 02:25:02PM -0400, Brandon Allbery wrote:
> > On Tue, Mar 21, 2017 at 7:38 AM, ToddAndMargo <toddandma...@zoho.com>
> wrote:
> > > $Name.IO.f or $Name.IO.open(:w).close;
> >
> > fwiw I consider this a perl3_to_5-ism; it's an optimization, and a fairly
>
> It's not entirely a perl3-to-5ism.  Using || and && for conditional
> execution dates back to Unix shell programming (long before Perl existed);
> Perl 5 introduced the low precedence "or"/"and" versions of the operators.
>

True, but I don't really consider shells to be full programming languages;
they exist to glue external programs together. (Shell as JCL, if you will.)
If you have an actual programming language around, there's no reason to
stick to unreadable JCL-ish constructs.

-- 
brandon s allbery kf8nh                               sine nomine associates
allber...@gmail.com                                  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net

Reply via email to