develooper Front page | perl.perl5.porters | Postings from February 2013

Re: Don't patch perlopentut: rewrite it completely

Thread Previous | Thread Next
H.Merijn Brand
February 17, 2013 13:27
Re: Don't patch perlopentut: rewrite it completely
Message ID:
On Sun, 17 Feb 2013 14:24:15 +0100, Johan Vromans
<> wrote:

> David Golden <> writes:
> > I strongly favor showing "or die..." instead of "|| die..." because
> > the lower precedence operator is safer should parentheses be omitted.
> I second this preference, but for a different reason: I advice people to
> use || for expressions, and or for statements. Although technically
> speaking all (well, most) statements are also expressions, it is more
> intuitive to mentally make the distinction where appropriate.

++ to that

H.Merijn Brand   Perl Monger
using perl5.00307 .. 5.17   porting perl5 on HP-UX, AIX, and openSUSE

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About