March 30, 2002
3:56 p.m.
6) Should we eventually remove the inheritance relationship between Int and Bool?
I hope so. Bool is-a Int doesn't seem like the right relationship to me, unless perhaps we make Int is-a Long... naah, not even then.
Guido> Hm. In your favorite language bool is one of the integral types. Guido> Doesn't that imply pretty much the same thing? What it really implies is that arithmetic operations on bool values are permitted and promote to int. -- Andrew Koenig, ark@research.att.com, http://www.research.att.com/info/ark