Back to list
Views:   0
Replies:  0
Archived
,
Reply 1
There is no direct relation of Refactoring patters (RF) with GOF Design Patterns (GoF).  In general correct usage of GoF design patterns may to some extent reduce the code smell (overuse may have the side effect).

But Refactoring  patterns are more at a basic level like

- Extract interface
- Extract Parameters
- Encapsulate Field
- Replace constructor with Factory Method (GoF Factory Method)
- Replace Magic Number with Symbolic Constant
- Rename Method
- Substitute Algorithm (GoF Strategy)
- AND MANY MORE.....

Adhering to basic GoF and related patterns like MVC, MVP etc follows some of the above high level objectives, but refactoring includes lots of low level code activity as well as can be gauged from the above list.

Hope this helps.
Rajesh Pillai, Mar 06, 2011
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Licensing       EULA       Sitemap      
© Data & Object Factory, LLC.
Made with    in Austin, Texas