Set>>add: should ignore nil argument

Marcin Tustin mt500 at zepler.net
Fri Aug 13 07:11:18 UTC 2004


On Fri, Aug 13, 2004 at 09:02:32AM +0200, Roel Wuyts wrote:
> Noooooooo !!! Do not start to use exceptions for this kind of control 
> flow!!! It is not an exception. Making it an exception will get you 
> into all kinds of trouble...

    Have you seen what happens when you add nil to a Set in squeak?
Unless I'm mistaken (which is quite possible, as I'm a novice), an
exception is raised



More information about the Squeak-dev mailing list