nullPointer skrev:
> I don´t see the message #&& . I have image Pharo dev 10418 BETA.
>
> && works as #and:  ? is a lazy comparison?
>
> Regards

I think Steph meant &, which does not compare lazily (but these are
boolean values already so not exactly alot of computation overhead, and
no subtle sideeffects...).
Alternatively you could use or: or: or: / | | |, drop the not's, and
switch the ifTrue:ifFalse: blocks.
That way, the "interesting" case comes on top too :).

Personally, I'd also use ifNotNil:, and temps moved to their enclosing
scope in this method, but as you say, preferences differ. :)

Cheers,
Henry

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to