Talk:Open closed principle

From CSSEMediaWiki
(Difference between revisions)
Jump to: navigation, search
(New page: little definition of the Open closed principle --~~~~)
 
Line 1: Line 1:
 
little definition of the Open closed principle --[[User:Dominic Winkler|Dom]] 05:21, 29 July 2008 (UTC)
 
little definition of the Open closed principle --[[User:Dominic Winkler|Dom]] 05:21, 29 July 2008 (UTC)
 +
 +
I found the clearest explanation for me in the paper itself was something like: to leave a module open for extension but closed for modification, it should be possible to add new functionality by adding new code, but never having to modify existing code. This is achieved by adding new derived classes.

Revision as of 08:26, 16 September 2008

little definition of the Open closed principle --Dom 05:21, 29 July 2008 (UTC)

I found the clearest explanation for me in the paper itself was something like: to leave a module open for extension but closed for modification, it should be possible to add new functionality by adding new code, but never having to modify existing code. This is achieved by adding new derived classes.

Personal tools