March 2006
M T W T F S S
« Feb   Apr »
 12345
6789101112
13141516171819
20212223242526
2728293031  
Chris Donnan

Create Your Badge

Chris Donnan : Programming – Brooklyn Style

software, trading, family, fun

An old yet still applicable article all developers should read (IMHO)

Object oriented software development is something that takes people time to get. Often I find myself pointing people to this this article to sum up why I am doing or something, why something feels right or wrong to me.

This is not a new article – I just find myself pointing people to this better explaination than I could give on more and more occasions.

Summary of principals:

The Open Closed Principle (OCP) ?
A module should be open for extension but closed for modification.

The Liskov Substitution Principle (LSP) ?
Subclasses should be substitutable for their base classes.

The Dependency Inversion Principle (DIP) ?
Depend upon Abstractions. Do not depend upon concretions.

The Interface Segregation Principle (ISP) ?
Many client specific interfaces are better than one general purpose interface

The Release Reuse Equivalency Principle (REP) ?
The granule of reuse is the granule of release.

The Common Closure Principle (CCP) ?
Classes that change together, belong together.

The Common Reuse Principle (CRP) ?
Classes that aren’t reused together should not be grouped together.

The Acyclic Dependencies Principle (ADP) ?
The dependencies betwen packages must not form cycles.

The Stable Dependencies Principle (SDP) ?
Depend in the direction of stability.

The Stable Abstractions Principle (SAP) ?
Stable packages should be abstract packages.


You can leave a response, or trackback from your own site.



Blog upgrade -

Well – I have had several domains across the years;

  • ChrisDonnan.com
  • TradeWeapon.com
  • ImpressionOne.com
  • XmlPimp.com
  • ..perhaps a few more.

In any case – Since I have been posting more and more not just .net related content. I figured I would re-register ChrisDonnan.com (i had let it expire) and go for it.

Wordpress has a big community, lots of extensibility etc. so it seemed like a logical move. In the past I would have not taken a ‘php’ product as I am not a hughe ‘php’ fan – but these folks have got it together :)

In any case – I am also experimeting with a wiki so I can have some of my standard stuff wiki’d. It is nice to have a domain again to put my stuff.

I managed to export much of my content (to rss and/ or opml) and import it into wordpress – nice. Hopefully I will stay put for a while here.

-Chris


You can leave a response, or trackback from your own site.