Design Principle 1
Identify the aspects of your application that vary and
separate them from what stays the same
Design Principle 2
Program to an interface, not an implementation
Design Principle 3
Favor composition over inheritance.
Design Principle 4
Strive for loosely coupled designs between objects that interact
Design Principle 5 (Open-Closed Principle)
Classes should be open for extension, but closed for modification
Identify the aspects of your application that vary and
separate them from what stays the same
Design Principle 2
Program to an interface, not an implementation
Design Principle 3
Favor composition over inheritance.
Design Principle 4
Strive for loosely coupled designs between objects that interact
Design Principle 5 (Open-Closed Principle)
Classes should be open for extension, but closed for modification
'Part 3 > ¶ Programming' 카테고리의 다른 글
[iPhone]Table Views, Navigation, and Arrays (0) | 2011.11.15 |
---|---|
[마프]신호등 만들기 (0) | 2011.11.10 |
ZeuS Source Code!!!! (0) | 2011.05.13 |
[VB2010]scanf가 (0) | 2010.10.02 |
Visual Studio 객체 브라우저 (0) | 2010.09.11 |