on 16/05/01 20:33, Jeroen at [EMAIL PROTECTED] wrote:
>>> - what's the preferred name for the boolean type?
>>> 'bool' or 'boolean'?
>>
>> Boolean
>
> But bool in func-defs, I read in php.dev
> And I meant in func-defs, because the 'real' word is - of course - boolean.
>
IMHO, I finally think this is not a real issue. boolean are pretty common
in computing science, and I can't think of anyone not understanding bool.
This stands for int/integer too. This way, I agree with Egon, and the
shorter the better, this 'real' word don't add much value.
However, I mostly used boolean in French version, and bool in English.
No one ever complained about it.
One the other hand, parameter/returned types need often updates (int ->
boolean), and the 'mixed' type is not always easy to understand.
That would make more sense to get some consistency on this point.
I'll try to make an in-depth survey of used types, so as to shape their use.
My few 0.02 centimes (about 0.003 Eur).
Damien Seguy.