Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion On nil qua false [was: Re: On conditionals]
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Bruce Hoult  
View profile  
 More options Nov 29 2001, 4:24 pm
Newsgroups: comp.lang.lisp
From: Bruce Hoult <br...@hoult.org>
Date: Fri, 30 Nov 2001 10:24:29 +1300
Local: Thurs, Nov 29 2001 4:24 pm
Subject: Re: On nil qua false [was: Re: On conditionals]
In article <fbc0f5d1.0111290441.65f3a...@posting.google.com>,

tfb+goo...@tfeb.org (Tim Bradshaw) wrote:
> And since we're here there are some other quite popular languages that
> have NIL/false-equivalent equations.  Like, erm, C and C++ (0 is
> false), Python (which makes all sorts of things false like ""), and
> Perl (similar rules to Python maybe, certainly "" and 0, and
> disturbingly enough also "0").

I am heartened to see that you find that disturbing.  The risks in Perl
of real data looking like "false" are immense.  I know, because I write
a lot of Perl.  Most of it is supposed to be "throw away", but we all
know what happens to throw-away code ... it comes back to bite your bum
a couple of decades later.

-- Bruce


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.