Re: RFC: some language issues

From: Date: Thu, 17 May 2001 07:54:23 +0000
Subject: Re: RFC: some language issues
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969335367@lists.php.net to get a copy of this message
on 16/05/01 20:33, Jeroen at jeroen@a-es2.uu.nl 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.

« previous php.doc (#969335367) next »