[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
Re: uninitialized vs. undefined
On Sat, 15 Jan 2000 15:30:44 +0100, Johan Vromans wrote:
>[Quoting Tom Christiansen, on January 14 2000, 14:04, in "Re: uninitialized vs"]
>> Another way of looking at it (mjd: shh about &fn) is that defined()
>> is asking whether a scalar value happen to hold the value undef().
>> I find this a much better way to think about it, because now one
>> never tries to do silly things like asking whether an aggregate
>> holds the value undef().
Looks like you just invented a pedagogical pearl. I like it.
>Shouldn't we use 'exists(&fun)' instead of 'defined(&fun)' then?
Spider and I had a brief chat about this. He's working on a patch
for consideration, I believe.
Sarathy
gsar@ActiveState.com
- Follow-Ups from:
-
Spider Boardman <spider@Orb.Nashua.NH.US>
- References to:
-
JVromans@squirrel.nl (Johan Vromans)
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]