[KCP] Event notification call for feedback

Lex Spoon lex at cc.gatech.edu
Wed Nov 5 15:18:26 UTC 2003


ducasse <ducasse at iam.unibe.ch> wrote:
> > PS. There should also be a KCP exercise to bring all existing 
> > exceptions/events into line.
> 
> Hi brent
> 
> We are focusing on other stuff right now. I got a look at VisualWorks 
> and
> they are inconsistent in naming Error. So if other like the idea go 
> ahead but think that we should have a deprecation mechanism for them. 
> For method this is easy but for class renaming it does not work.
> May be one idea would be to inspect the stack when a changeset is 
> loaded and have a table somewhere containing the renaming information 
> DivideByZeroError -> DivideByZero.

Not sure how to do the deprecation itself, but to provide a transition
phase one can use subclassing.  Make DivideByZero be a subclass of
DivideByZeroError.
 

-Lex



More information about the Squeak-dev mailing list