Interlude 4. Gen-A-Refactoring


Several refactorings have the form "Verb Noun."

Consider these verbs : Extract, Inline; Move; Rename; Pull Up, Push Down; Hide, Expose.

Consider these nouns : Field, Method; Class, Interface, Subclass, Superclass; Hierarchy.

Interlude 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 Refactoring 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

               

See Appendix A for solution.




Refactoring Workbook
Refactoring Workbook
ISBN: 0321109295
EAN: 2147483647
Year: 2003
Pages: 146

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net