XpdWiki

FrontPage
RecentChanges
XtC
FindPage
PageIndex
XpApprentices

Set your name in
UserPreferences

Edit this page

Referenced by
...nobody




JSPWiki v2.0.52


OpenClosedPrinciple


In XP terms this would imply that you can add new tests but you cannot break old ones.

This leads me to the first conclusion that the OpenClosedPrinciple does not work with XP because you may need to refactor out functionality to a new class, breaking the tests until you also refactor them.

This leads on to a prediction. In an XP system some classes will evolve to 'closure', that is to say that they will stabilise and cease to be refactored.

Has anybody observed this yet?

--

No. Refactoring is how you move stable, generic code into "closed" packages. Most people find you can't just sit down and write systems with different abstraction layers (see DependencyInversionPrinciple? by ObjectMentor -- try WikiWikiWeb?): they evolve by refactoring, so the two go hand in hand.

--TomAyerst ³³agent³Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt?; UKPORTAL)³OpenClosedPrinciple


Edit this page   More info...   Attach file...
This page last changed on 21-Apr-2003 21:34:36 BST by unknown.