[Cuis-dev] [ChangeSet] Updates on refactorings
Hernan Wilkinson
hernan.wilkinson at 10pines.com
Mon May 25 16:02:34 PDT 2020
Thanks Andres!
Nahuel, could you change that error message as Andres suggests?
Hernan.
On Mon, May 25, 2020 at 7:47 PM Andres Valloud via Cuis-dev <
cuis-dev at lists.cuis.st> wrote:
> {variable} cannot be used as [a] temporary variable name because it is
> defined as [an] instance variable in XX.
>
> On 5/25/20 15:35, Hernan Wilkinson via Cuis-dev wrote:
> > Hi Nahuel!
> > thank you for the improvements and fixes. All tests are passing 💪💪
> > It is integrated.
> >
> > I have a few minor comments:
> > 1) I think I would change the error message "{variable} cannot be used
> > as temporary variable name because it is an instance variable defined in
> > XX" for "{variable} cannot be used as temporary variable name because it
> > is defined as instance variable in XX"
> > What do English native speakers think it is best?
> > 2) When doing the extract method if you select as selector to extract
> > the code the same as the method you are performing the extract method,
> > it will do it but the extracted code will be lost. I think in that case
> > it should not be a warning but an error... only in that case :-)
> >
> > Cheers!
> > Hernan.
> > On Mon, May 25, 2020 at 1:20 AM Nahuel Garbezza via Cuis-dev
> > <cuis-dev at lists.cuis.st <mailto:cuis-dev at lists.cuis.st>> wrote:
> >
> > Hi!
> >
> > Attached is a changeset with the following changes (and their
> > corresponding tests):
> >
> > [extract temporary / rename temporary]
> > - fix error message for instance variable already defined in class
> > - allow to perform the refactoring in a debugger
> >
> > [extract method]
> > - extracting to an existing selector (in the current class or any
> > superclass) now raises a warning
> > - allow to perform the refactoring in a debugger
> > - improve error messages and validation logic
> >
> > [documentation]
> > - add a comment on RefactoringPrecondition class
> >
> > Thanks,
> > Nahuel.
> > --
> > Cuis-dev mailing list
> > Cuis-dev at lists.cuis.st <mailto:Cuis-dev at lists.cuis.st>
> > https://lists.cuis.st/mailman/listinfo/cuis-dev
> >
> >
> >
> > --
> > *Hernán Wilkinson
> > Agile Software Development, Teaching & Coaching*
> > *Phone: +54-011*-4893-2057
> > *Twitter: @HernanWilkinson*
> > *site: http://www.10Pines.com <http://www.10pines.com/>*
> > Address: Alem 896, Floor 6, Buenos Aires, Argentina
> >
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev
>
--
*Hernán WilkinsonAgile Software Development, Teaching & Coaching*
*Phone: +54-011*-4893-2057
*Twitter: @HernanWilkinson*
*site: http://www.10Pines.com <http://www.10pines.com/>*
Address: Alem 896, Floor 6, Buenos Aires, Argentina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20200525/929974be/attachment-0001.htm>
More information about the Cuis-dev
mailing list