[Newbies] OrderedCollection if imageMorphs
Christine Wolfe
cwdw01 at earthlink.net
Sun Nov 8 19:33:58 UTC 2009
Thanks - I thought it odd that I had to explicitly call this initialize. I
went back and took out the call to initialize just to be sure that was what
making the difference and it was. So for some reason my SymbolArray>>new is
not calling the method unlike all my other ones. If I find that it is
something that I've done, I'll be sure to let the forum know.
-----Original Message-----
From: Randal L. Schwartz [mailto:merlyn at stonehenge.com]
Sent: Sunday, November 08, 2009 10:55 AM
To: Christine Wolfe
Cc: 'A friendly place to get answers to even the most basic questions about
Squeak.'
Subject: Re: [Newbies] OrderedCollection if imageMorphs
>>>>> "Christine" == Christine Wolfe <cwdw01 at earthlink.net> writes:
Christine> For sure I'm going to start now - I don't see where it could ever
hurt
Christine> anything if I initialize twice.
It can, so I wouldn't conclude so quickly, or cargo-cult this one
without some more research.
Behavior>>#new calls #initialize, so someone broke the chain between there
and your classes of interest by overriding #new without respecting the
existing protocol.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
More information about the Beginners
mailing list