On Sun, Apr 17, 2011 at 6:38 PM, candide <[email protected]> wrote:
> I also try to consider how essential the bool() type is.
> Again compare with int() or str() types.

Well, of course you can always implement bool as an int; C has done
this for decades, and it hasn't killed it. You can also implement
integers as strings - REXX manages quite well, and gets some
advantages therefrom. But having an explicit bool type has its
benefits too. Essential? No. Useful? Certainly.

Chris Angelico
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to