Hans Nowak <wurmy at earthlink.net> writes: | Hmm, what if bools grew an if() method? We could then write: | | z = (x == y).if(whentrue, whenfalse) | | This strikes me as much more elegant than the other proposals. | | (ducking for cover, etc :-) You joke, but that's basically what Smalltalk does. Dan -- http://www.dfan.org