doIfNotNil: -- let's bake the other half

Ned Konz ned at bike-nomad.com
Fri Oct 20 18:56:59 UTC 2000


Jon K Anderson wrote:
> 
> I like ifNotNil:.  It sounds clean to me:
> 
>     this getThat
>         ifNotNil: [ :that | that doSomething ].

We already have ifNotNil: aBlock, which doesn't pass
the non-nil object. So we have to come up with another name.
The discussion was about the (existing) doIfNotNil: , as I recall.
-- 
Ned Konz
currently: Stanwood, WA
email:     ned at bike-nomad.com
homepage:  http://bike-nomad.com





More information about the Squeak-dev mailing list