-1
i personally like that booleans are booleans in java.

int a,b
if (a || b) ;

won't compile, and shouldn't compile. if you want to know if they're 0 write it out,

the fact that

if (a = b);

won't compile has saved many more problems than it has created.

i would be ok pushing this up into velocity also, if i'm doing boolean logic on non boolean objects, throw an exception; this keeps it clean, and avoids the gottcha of the current method.

llewellyn.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to