[Newbies] Re: new and initialize

Joseph Alotta joseph.alotta at gmail.com
Tue May 10 19:37:53 UTC 2016

> On May 10, 2016, at 12:45 PM, Ron Teitelbaum [via Smalltalk] <ml-node+s1294792n4894228h17 at n4.nabble.com> wrote:
> Hi Joe, 
> Excellent question.  Try this.   
> Object new. 
> Highlight it and do debug it.   Click "Into" to go into the #new method. 
> Notice the implementation of #new.   
> You should be able to see there that #initialize is called automatically. 
> Also for extra points notice what class new is implemented on.


>  What method should you call to skip initialize? 


More questions:  why isn’t there a command key for debug it?
                 why isn’t my initialize method not running or running without setting variables?

Thank you.



View this message in context: http://forum.world.st/new-and-initialize-tp4894227p4894237.html
Sent from the Squeak - Beginners mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20160510/69bd20c5/attachment.htm

More information about the Beginners mailing list