[Pharo-project] why #ifNotNil: accepts parameter?

Esteban Lorenzano estebanlm at gmail.com
Tue Jan 27 09:09:55 EST 2009

On 2009-01-27 11:05:49 -0200, Lukas Renggli 
<renggli at gmail.com> said:

>> I'm trying to understand why pharo modifies squeak behavior of
>> ifNotNil: and introduces the optional parameter... is there a reason?
> Squeak for that matter is incompatible with all other existing
> Smalltalk implementations. Luckily that was changed in Pharo. the
> compiler can easily figure out if an argument needs to be passed into
> the block or not. There is really no need for all these ugly #...Do:
> methods.
> Lukas

Yes, I understand... but now I have a compatibility issue with OB-Tools 
(works on pharo, doesn't works on squeak) :(
Anyway, I understand :)


More information about the Pharo-dev mailing list