2 Dec 2002 00:57
Re: Weaken Parameter Types.
Ralph Johnson <johnson <at> cs.uiuc.edu>
2002-12-01 23:57:59 GMT
2002-12-01 23:57:59 GMT
>From: Martin Fowler <mfowlerlists <at> thoughtworks.net> >That looks like a good one. I would call it Generalize Parameter. It can >work with interfaces as well as superclasses. I'd call it Generalize Variable. You can change the type of a variable from T to S if all the uses are compatible with S. Presumably S is a supertype (i.e. superclass or interface) of T. How are parameters different in this regard from other variables? -Ralph ------------------------ Yahoo! Groups Sponsor ---------------------~--> Get 128 Bit SSL Encryption! http://us.click.yahoo.com/CBxunD/vN2EAA/xGHJAA/umvwlB/TM ---------------------------------------------------------------------~-> To unsubscribe from this group, send an email to: refactoring-unsubscribe <at> yahoogroups.com Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
RSS Feed