+10 for factory & parameter.

"Peter Morelli" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Yup, +1 for factories...
>
> Thomas Singer wrote:
> >>  4.. Replace Constructor with Factory Method
> >>  =
>
>>http://www.refactoring.com/catalog/replaceConstructorWithFactoryMethod.ht=
> >>ml
> >>  This would replace all new XXX() by XXX.newInstance().
> >
> >
> > +1, where "newInstance" should be a customizable name.
> >
> > Tom
> >
> >
> > On Sun, 21 Jul 2002 18:54:02 -0500, "Jacques Morel"
> > <[EMAIL PROTECTED]> wrote:
> >
> >
> >>I reviewed the published refactoring and I found these to be of =
> >>interest. The 2 first would be nice to have in Ariadna. I so often do =
> >>manually the first one during my refactorings it would great to have it
=
> >>automated. The rest are just icing on the cake.
> >>  1.. Extract Class/Inline Class
> >>  http://www.refactoring.com/catalog/extractClass.html / =
> >>http://www.refactoring.com/catalog/inlineClass.html
> >>  My most needed
> >>  2.. Replace Method with Method Object=20
> >>  http://www.refactoring.com/catalog/replaceMethodWithMethodObject.html
> >>  Just in case you have a method big enough to be its own object.
> >>  3.. Replace Data Value with Object
> >>  http://www.refactoring.com/catalog/replaceDataValueWithObject.html
> >>  4.. Replace Constructor with Factory Method
> >>  =
>
>>http://www.refactoring.com/catalog/replaceConstructorWithFactoryMethod.ht=
> >>ml
> >>  This would replace all new XXX() by XXX.newInstance().
> >>
> >>  e.. Replace Parameter with Method
> >>  http://www.refactoring.com/catalog/replaceParameterWithMethod.html
> >>Jacques
> >
> >
>
>








_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-features

Reply via email to