ifNotNil:

Bert Freudenberg bert at isgnw.CS.Uni-Magdeburg.De
Fri Jun 16 20:50:00 UTC 2000


On Fri, 16 Jun 2000, Eric Arseneau wrote:

> 	self someObject ifNotNil: [:object | object doSomething]
> I could always use another name, but then what would that name be ?

Thince this is the same as 

	self someObject in: [:object | object ifNotNil: [object doSomething]]

why not name it #ifNotNilIn: ?

	self someObject ifNotNilIn: [:object | object doSomething]

-- Bert





More information about the Squeak-dev mailing list