[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with +numberWithBool: ?
From: |
Alexander Malmberg |
Subject: |
Re: Problem with +numberWithBool: ? |
Date: |
Fri, 30 Jan 2004 17:05:44 +0100 |
Nicola Pero wrote:
> > It isn't an implementation detail since it means that BOOL isn't a true
> > boolean type. Compare this with c99's _Bool, which is a true boolean
> > type:
>
> It's nice you mention the c99's boolean type; I suppose it would make
> sense to try have BOOL as compatible as possible with the c99's bool type,
> hoping that at some point they will be merged.
I disagree. BOOL isn't a true boolean, and should remain that way. Those
who want to use _Bool in their own code can just go ahead and do that
(it'll interoperate just fine with BOOL).
If, at some point in the distant future, BOOL falls out of use and c99
is supported everywhere, we could redefine GNUstep's interface using
_Bool, and deprecate and later remove BOOL completely.
- Alexander Malmberg
- Re: [RFA]: BOOL coding standards (Was: Problem with+numberWithBool: ?), (continued)
- Re: [RFA]: BOOL coding standards (Was: Problem with+numberWithBool: ?), Alexander Malmberg, 2004/01/31
- Re: [RFA]: BOOL coding standards (Was: Problem with +numberWithBool: ?), Kazunobu Kuriyama, 2004/01/30
- Re: [RFA]: BOOL coding standards (Was: Problem with +numberWithBool: ?), Richard Frith-Macdonald, 2004/01/30
- Re: [RFA]: BOOL coding standards (Was: Problem with +numberWithBool: ?), Richard Frith-Macdonald, 2004/01/30
- Re: [RFA]: BOOL coding standards (Was: Problem with +numberWithBool: ?), Adam Fedor, 2004/01/30
- Re: [RFA]: BOOL coding standards (Was: Problem with +numberWithBool: ?), Sheldon Gill, 2004/01/31
- Re[2]: [RFA]: BOOL coding standards (Was: Problem with +numberWithBool: ?), Manuel Guesdon, 2004/01/31
- Re: [RFA]: BOOL coding standards (Was: Problem with+numberWithBool: ?), Alexander Malmberg, 2004/01/31
- Re: Problem with +numberWithBool: ?, Alexander Malmberg, 2004/01/30
- Re: Problem with +numberWithBool: ?, Nicola Pero, 2004/01/30
- Re: Problem with +numberWithBool: ?,
Alexander Malmberg <=
- Re: Problem with +numberWithBool: ?, Philippe C.D. Robert, 2004/01/30
- Re: Problem with +numberWithBool: ?, Pascal J . Bourguignon, 2004/01/30
- Re: Problem with +numberWithBool: ?, Richard Frith-Macdonald, 2004/01/30
- Re: Problem with +numberWithBool: ?, Pascal J . Bourguignon, 2004/01/30
- Re[2]: Problem with +numberWithBool: ?, Manuel Guesdon, 2004/01/30