Forum: Ruby Re: TrueClass/FalseClass vs. Boolean

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
F3b7b8756d0c7f71cc7460cc33aefaee?d=identicon&s=25 Berger, Daniel (Guest)
on 2006-03-31 17:45
(Received via mailing list)
> -----Original Message-----
> From: ara.t.howard@noaa.gov [mailto:ara.t.howard@noaa.gov]
> Sent: Friday, March 31, 2006 8:36 AM
> To: ruby-talk ML
> Subject: Re: TrueClass/FalseClass vs. Boolean

<snip>

Also, I like it for testing, when I want to test .kind_of? and ensure
that it's either true or false.

> > It's been proposed and rejected by Matz once already.
>
> i seem to recall this... link?  wonder why he rejected...

I originally proposed it on the old RCR site on rubygarden.org.  I
believe you could find it on http://www.rcrchive.net, but it appears to
be down at the moment.

I think one of the reasons for rejecting it was that redefining how true
or false behaved would cause havoc with the regular expression engine.
But I think mostly he just didn't see the need for a boolean class the
ways things are now.

Regards,

Dan
1fba4539b6cafe2e60a2916fa184fc2f?d=identicon&s=25 unknown (Guest)
on 2006-03-31 18:07
(Received via mailing list)
Hi --

On Sat, 1 Apr 2006, Berger, Daniel wrote:

>
>>> It's been proposed and rejected by Matz once already.
>>
>> i seem to recall this... link?  wonder why he rejected...
>
> I originally proposed it on the old RCR site on rubygarden.org.  I
> believe you could find it on http://www.rcrchive.net, but it appears to
> be down at the moment.

Ugh.  I've been having DNS issues.  I'll try to fix it.....


David

--
David A. Black (dblack@wobblini.net)
Ruby Power and Light, LLC (http://www.rubypowerandlight.com)

"Ruby for Rails" chapters now available
from Manning Early Access Program! http://www.manning.com/books/black
This topic is locked and can not be replied to.