Futer

Greenhorn
+ Follow
since Aug 28, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Futer

You can find an EXCELLENT article on OO Design here :
http://www.design-up.com/data/principesoo.pdf

The most known principles are explained very clearly.
Unfortunatly, the article is in french
Here a some OO principles you can read in the fabulous O'Reilly book "Head First in Design Patterns" :

1) Encapsulate what varies
2) Favor composition over inheritance
3) program to interfaces not implementations
4) Strive for loosely coupled designs between objets that interact
5) Classes should be open for extension but closed for modification (Bertrand Meyer)
6) Depend on abstractions Do not depend on concrete classes
7) Only talk to your friends
8) Don't call us, we' call you (use callback functions)
9) A class should have only one reason to change