[Newbies] Re: new and initialize
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?
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...
More information about the Beginners