[#237] object.c ruby.h (fwd) — Robert Skarwecki <skaav@...>

Hello everybody,

42 messages 2002/07/24
[#239] Re: [PATCH] object.c ruby.h (fwd) — GOTO Kentaro <gotoken@...> 2002/07/24

At Thu, 25 Jul 2002 00:02:28 +0900,

[#240] Re: [PATCH] object.c ruby.h (fwd) — Dave Thomas <Dave@...> 2002/07/24

GOTO Kentaro <gotoken@notwork.org> writes:

[#246] Re: [PATCH] object.c ruby.h (fwd) — GOTO Kentaro <gotoken@...> 2002/07/25

At Thu, 25 Jul 2002 05:05:46 +0900,

[#247] Re: [PATCH] object.c ruby.h (fwd) — Dave Thomas <Dave@...> 2002/07/25

GOTO Kentaro <gotoken@notwork.org> writes:

[#248] Re: [PATCH] object.c ruby.h (fwd) — nobu.nokada@... 2002/07/25

Hi,

[#249] Re: [PATCH] object.c ruby.h (fwd) — Dave Thomas <Dave@...> 2002/07/25

nobu.nokada@softhome.net writes:

[#250] Re: [PATCH] object.c ruby.h (fwd) — nobu.nokada@... 2002/07/25

Hi,

[#252] Re: [PATCH] object.c ruby.h (fwd) — GOTO Kentaro <gotoken@...> 2002/07/25

At Fri, 26 Jul 2002 03:11:02 +0900,

[#253] Re: [PATCH] object.c ruby.h (fwd) — Dave Thomas <Dave@...> 2002/07/25

GOTO Kentaro <gotoken@notwork.org> writes:

unifying nil and false (Re: [PATCH] object.c ruby.h)

From: matz@... (Yukihiro Matsumoto)
Date: 2002-07-25 04:22:48 UTC
List: ruby-core #242
Hi,

In message "Re: [PATCH] object.c ruby.h (fwd)"
    on 02/07/25, Dave Thomas <Dave@PragmaticProgrammer.com> writes:

|At the same time, I'm wondering if it would be possible to unify nil
|and false, so that they were both the same object?

"nil" and "false" are treated differently everywhere.  Unifying them
will cause serious compatibility problem.  For example, Thread#status
returns false for threads terminated normally, nil for threads
terminated with exceptions.  See ri Thread#status.  Also I've heard
they're used for three state logic (true - false - undefined).

So it's not easy to unify them.

							matz.

In This Thread