<div class='shrinkable-quote'><br/>> On May 10, 2016, at 12:45 PM, Ron Teitelbaum [via Smalltalk] <<a href="/user/SendEmail.jtp?type=node&node=4894237&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> wrote:
<br/>>
<br/>> Hi Joe,
<br/>>
<br/>> Excellent question. Try this.
<br/>>
<br/>> Object new.
<br/>>
<br/>> Highlight it and do debug it. Click "Into" to go into the #new method.
<br/>>
<br/>> Notice the implementation of #new.
<br/>>
<br/>> You should be able to see there that #initialize is called automatically.
<br/>>
<br/>> Also for extra points notice what class new is implemented on.
</div><br/>Behavior
<br/><br/>> What method should you call to skip initialize?
<br/><br/>basicNew
<br/><br/>More questions: why isn’t there a command key for debug it?
<br/> why isn’t my initialize method not running or running without setting variables?
<br/><br/><br/>Thank you.
<br/><br/>Sincerely,
<br/><br/>Joe.
<br/><br/><br/>
        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://forum.world.st/new-and-initialize-tp4894227p4894237.html">Re: new and initialize</a><br/>
Sent from the <a href="http://forum.world.st/Squeak-Beginners-f107673.html">Squeak - Beginners mailing list archive</a> at Nabble.com.<br/>