[M3devel] [M3commit] CVS Update: cm3
Tony Hosking
hosking at cs.purdue.edu
Tue Jan 8 04:02:34 CET 2008
On Jan 7, 2008, at 7:16 PM, Olaf Wagner wrote:
> Quoting Jay <jayk123 at hotmail.com>:
>
>> Style tangent: Have people heard the advise that boolean
>> parameters are bad, because at the callsite esp. they don't give
>> much meaning? What is TRUE? What is FALSE? Enums or named
>> parameters are clearer.
>
> I tend to agree, but this might get religious ;-)
Indeed. I considered [0..3] but decided against it. :-)
But seriously, an alternative would have been a new type in the
interface I suppose. Given that it is a private module to the
package I didn't feel overly compelled to be more obvious.
More information about the M3devel
mailing list