doIfNotNil: -- let's bake the other half

Bijan Parsia bparsia at email.unc.edu
Thu Oct 19 23:03:45 UTC 2000


On Thu, 19 Oct 2000, Jon K Anderson wrote:

> 
> I like ifNotNil:.  It sounds clean to me:

So do I. But we alrady have it. It corresponds to
	(foo = nil) ifFalse: [doSomething]

thus, conceptually, it seems cleaner to not pass an argument to the
block. And alternative selector for that case is (I thought) exactly what
we're after. 
 
Cheers,
Bijan Parsia.





More information about the Squeak-dev mailing list