[ Team LiB ] Previous Section Next Section

Interlude 4. Gen-A-Refactoring

I4.1. Verbs and Nouns

In the table below, put a dash (—) in combinations that don't make sense, a plus sign (+) in those that are in Fowler's catalog, and an asterisk (*) in those that make sense but aren't in the catalog.

 

Extract

Inline

Move

Rename

Pull Up

Push Down

Hide

Expose

Field

+

*

+

+

*

*

Method

+

+

+

+

+

+

+

*

Class

+

+

*

*

*

*

Interface

+

*

*

*

*

*

Subclass

+

+

Superclass

+

+

Hierarchy

+

*

Some are arguable, especially if you want to consider inner classes.


    [ Team LiB ] Previous Section Next Section