Re: [Newbies] new and initialize

2016-05-12 Thread Tobias Pape
On 12.05.2016, at 01:50, Joseph Alotta wrote: > Sorry, it doesn’t work on the Mac. The window gets black and then redraws. > I think maybe it means “refresh”. > > Sincerely, > > JOe. Joe, which version of Squeak are you using? 5.0 does not yet have this

RE: [Newbies] new and initialize

2016-05-10 Thread Ron Teitelbaum
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

Re: [Newbies] new vs. initialize

2008-12-09 Thread Tim Johnson
On Dec 8, 2008, at 8:56 PM, Greg A. Woods; Planix, Inc. wrote: Initially though this recommendation didn't make any sense to me because I didn't know how the implementation of #new in Behaviour is different from strict Smalltalk-80 as I understand it. I.e. originally in Smalltalk-80 #new