Refact your C# Code - SOLID on CodePlex
“SOLID is a acronym to identify five basic design patterns :
- S: Single responsibility principle (A class should have one, and only one, reason to change)
- O: Open/closed principle (you should be able to extend a classes behavior, without modifying it)
- L: Liskov substitution principle (Derived classes must be substitutable for their base classes)
- I: Interface segregation principle (Make fine grained interfaces that are client specific)
- D: Dependency inversion principle (Depend on abstractions, not on concretions)
…” [GD:Post Leach Level:98%]
CodeProject - SOLID by example
“Source code examples to undestood solid design principles. Most of them were taken from http://www.lostechies.com/
…”
SOLID by example - Change Set 67436
It’s one thing to hear about SOLID and another to see if in practice… A code snip is worth a thousand words (or something like that… ;)
Related Past Post XRef:
A short introduction to SOLID and DRY for the heads down dev
No comments:
Post a Comment
NOTE: Anonymous Commenting has been turned off for a while... The comment spammers are just killing me...
ALL comments are moderated. I will review every comment before it will appear on the blog.
Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...
I reserve, and will use, the right to not approve ANY comment for ANY reason. I will not usually, but if it's off topic, spam (or even close to spam-like), inflammatory, mean, etc, etc, well... then...
Please see my comment policy for more information if you are interested.
Thanks,
Greg
PS. I am proactively moderating comments. Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...