CSC/ECE 517 Fall 2009/wiki3 3 cp

From Expertiza_Wiki
Revision as of 03:29, 18 November 2009 by Gallo (talk | contribs)
Jump to navigation Jump to search

Common Closure Principle

Introduction and Objective

According to Bob Martin's Common Closure Principle states,

"Classes within a released component should share common closure. That is, if one needs to be changed, they all are likely to need to be changed. What affects one, affects all."

How to Implement Common Closure Principle ?

Java Example

Ruby Example

What are the advantages and disadvantages?

Reading Recommendations

Reference Books

External Links

Bob Martin's

Appendix