Message from discussion
0 == False but [] != False?
Path: g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.speakeasy.net!news.speakeasy.net.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 24 May 2007 18:39:31 -0500
Date: Thu, 24 May 2007 16:39:31 -0700
From: Erik Max Francis <m...@alcyone.com>
Organization: Alcyone Systems
User-Agent: Thunderbird 1.5.0.5 (X11/20060719)
MIME-Version: 1.0
Newsgroups: comp.lang.python
Subject: Re: 0 == False but [] != False?
References: <1179982400.412340.178710@g4g2000hsf.googlegroups.com> <1rda53hphn117k5scvcqrc7c2e37utfhgu@4ax.com> <1180047740.001604.267170@q66g2000hsg.googlegroups.com> <mailman.8150.1180048183.32031.python-list@python.org>
In-Reply-To: <mailman.8150.1180048183.32031.python-list@python.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <n8CdnUg_Fpyuv8vbnZ2dnUVZ_tLinZ2d@speakeasy.net>
Lines: 18
NNTP-Posting-Host: 69.17.54.62
X-Trace: sv3-5Kqch8621JF3ekBw92YETVZYUP+cOhX7xrn3ePnJYdtBU83QSBt+DQGU5pLZa6C38Nmt1IopQaBX2rF!J7Aj6GQX9TxnaO8zMOVWD3JclvdQMNQS91iaIn1/ZaQeFbcCEnmduQDWoutBp+RFOOgQbZO2Ck9j!TkPKXyBJQDpIiI4L2cvfoDev
X-Complaints-To: abuse@speakeasy.net
X-DMCA-Complaints-To: ab...@speakeasy.net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.34
Steve Holden wrote:
> Dan Bishop wrote:
>
>> I have a job as a C++ programmer, and they make us write it like that,
>> apparently because the ! operator is hard to see. But "if (x ==
>> TRUE)" is discouraged.
>>
> Find a new employer. I'm not joking.
Really. He's not. That's a perfect example of a style guideline that
not only wastes energy, misses the point, but is totally wrong.
--
Erik Max Francis && m...@alcyone.com && http://www.alcyone.com/max/
San Jose, CA, USA && 37 20 N 121 53 W && AIM, Y!M erikmaxfrancis
There is another world, which is not of men.
-- Li Bai