W3C home > Mailing lists > Public > public-qa-dev@w3.org > October 2002

Re: Fwd: validator/httpd/cgi-bin check

From: Terje Bless <link@pobox.com>
Date: Fri, 11 Oct 2002 21:33:07 +0200
To: public-qa-dev@w3.org
Message-ID: <a01060005-1021-8324E680DD5011D69E0D0030657B83E8@[]>

Ville Skyttä <ville.skytta@iki.fi> wrote:

>No.  That was Terje's change in
>=1.235&f=h>, which actually broke things.

Woops! My bad.

>Yes.  That works again, and uses the "and" Terje seems to love :)
>That's why I personally never use the "and" form.  Mixing "and" and "&&"
>is always IMHO either 1) wrong 2) hard to read correctly.

There is a reason why Perl has two logical AND operators with different
precendence; one of them being exactly to cut down on paranthesis. And my
personal Perl Style Guide demands "and" over "&&" where possible to enable
the code to read more like a English sentence (without going to extremes;
I'm not a candyfloss-language fan!), to cut down on the amount of
punctuation, and to use the loosest binding (lowest precendence) operator
that will do the job.
Received on Friday, 11 October 2002 15:35:31 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:36:23 UTC