[aida] isNil ifTrue: idiom
janko.mivsek at eranova.si
Mon Feb 11 13:11:31 CET 2008
Let me first apologize for such an unresponsiveness and a backlog of
your posts to be answered. I have all of them blue tagged on my
Thunderbird, so they will be answered, sooner or later. Thanks again for
isNil ifTrue: instead if ifNil: is used mostly from two reasons:
historical and portability.
Historical: back in 1996 there was no ifNil: on VW. This came later,
first as extensions by some packages and just in recent years as part of
Portability: because of ifNil: is probably still not part of all
Smalltalks it is just better to avoid it in core Aida.
But it is also true that I'm used of old method and that I didn't find
yet a compelling reason to change that habit :)
Rob Rothwell wrote:
> I must say I have been wondering that myself...!
> Jimmie Houchin-3 wrote:
>> Why is
>> addresses isNil ifTrue: [self initAddresses].
>> used in AIDA as opposed to
>> addresses ifNil: [self initAddresses].
>> Is ifNil unavailable in VW? or is there something I don't understand?
>> Aida mailing list
>> Aida na aidaweb.si
Smalltalk Web Application Server
More information about the Aida