Talk:Open closed principle
From CSSEMediaWiki
(Difference between revisions)
m |
|||
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. | + | 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. --[[User:Elliot Fisher|Elliot Fisher]] 08:26, 16 September 2008 (UTC) |
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. --Elliot Fisher 08:26, 16 September 2008 (UTC)