For me pull means that you move from a subclass to a class
while push is from a class to its superclass.

Now it depends on it is implemented.

Note that these refactorings were implemented long before the book (excellent BTW - I enjoyed reviewing it and martin told me that our reviews
were excellent and forcing him to improve it).

Stef

On 12/8/14 03:00, Bernardo Ezequiel Contreras wrote:
Hi all,
According to the book Refactoring[1] you pull up a method but if you look at the refactoring options in a method, you'll see push up instead of pull up. See attached image.

 Is that a bug or a deliberate decision?

Thanks


[1] Refactoring: Improving the Design of Existing Code
Martin Fowler
Kent Beck
John Brant
William Opdyke
Don Roberts
Publisher: Addison Wesley

--
Bernardo E.C.

Sent from a cheap desktop computer in South America.


Reply via email to