Glenn Linderman <[EMAIL PROTECTED]> writes:
> Philip Newton wrote:
>> Having $seen{$word}++ turn $seen{$word} to undef is bad,
It doesn't "turn it to undef"; if you're using tristate semantics, it
leaves it as undef, because those are the semantics you've selected for
undefined values.
>> if (undef)++ assumes NULL semantics everywhere, hence "one more than
>> unknown" = "still unknown".
No one's proposing that. People are proposing the ability to turn on NULL
semantics where you need it.
> Right. Applying NULL semantics to undef would be bad. The
> counterproposals to RFC 263, along the lines of "use tristate", seem to
> overlook this sort of situation.
I'm not overlooking it; I just don't agree with you. There *is* a
difference.
--
Russ Allbery ([EMAIL PROTECTED]) <http://www.eyrie.org/~eagle/>
- Re: RFC 263 (v1) Add null() keyword and... Damien Neil
- Re: RFC 263 (v1) Add null() keyword and... Russ Allbery
- Re: RFC 263 (v1) Add null() keyword and fundame... John Porter
- Re: RFC 263 (v1) Add null() keyword and fun... Tom Christiansen
- Re: RFC 263 (v1) Add null() keyword and fundame... Russ Allbery
- Re: RFC 263 (v1) Add null() keyword and fun... Tom Christiansen
- Re: RFC 263 (v1) Add null() keyword and fun... Philip Newton
- Re: RFC 263 (v1) Add null() keyword and... Tom Christiansen
- Re: RFC 263 (v1) Add null() keyword and... Philip Newton
- Re: RFC 263 (v1) Add null() keyword and... Glenn Linderman
- Re: RFC 263 (v1) Add null() keyword and... Russ Allbery
- Re: RFC 263 (v1) Add null() keyword and... Glenn Linderman
- Re: RFC 263 (v1) Add null() keyword and... Russ Allbery
- Re: RFC 263 (v1) Add null() keyword and... Glenn Linderman
- Re: RFC 263 (v1) Add null() keyword and... John Porter
- Re: RFC 263 (v1) Add null() keyword and... Russ Allbery
- Re: RFC 263 (v1) Add null() keyword and... Glenn Linderman
- Re: RFC 263 (v1) Add null() keyword and... Bryan C . Warnock
- Re: RFC 263 (v1) Add null() keyword and fundame... Paris Sinclair
- Re: RFC 263 (v1) Add null() keyword and fun... Glenn Linderman
- Re: RFC 263 (v1) Add null() keyword and fundamental data... John Porter
