[BUG]FileList2 postOpen shows symptom of poor #changed: api

Doug Way dway at riskmetrics.com
Wed Dec 3 01:32:11 UTC 2003


Ned Konz wrote:

>On Monday 01 December 2003 8:15 pm, Tim Rowledge wrote:
>  
>
>>when looking at the FileList2>postOpen method I was upset to see the
>>very ugly generation of the parameter to the #changed: message. I
>>believe I swore something about people not knowing about
>>#changed:with:. Then I checked and discovered that Squeak is lacking
>>this protocol. I suspect that a number of places would benefit from it.
>>See any ancient Smalltalk image for details.
>>    
>>
>
>This is something that tends to get added for the various packages that are 
>derived from VisualWorks.
>
>I believe that the Refactoring Browser and the Star Browser both have this 
>method.
>

Yeah, I used some ugly parameter generation with a #changed: message in 
Whisker... it would be better to have a #changed:with: method.  We 
should probably just add this to the Basic image.

- Doug





More information about the Squeak-dev mailing list