SOLID By [C#] Example Or “Stop talking about SOLID and show me the code…”
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