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

[Newbies] new vs. initialize

2008-12-08 Thread Greg A. Woods; Planix, Inc.
So this problem I posted on squeak-dev about BDFFontReader and how it has its own #new class method to create new instances of itself, but in doing so failed to also send an #initialize message to each new instance and thus when it was actually used an instance variable was left as nil