Friday, May 13, 2005
It doesn't really matter what pattern you use, or if you use no known pattern at all, as long as your code addresses the three main GoF principles. If you can't name them off the top of your head I recommend you go back and read GoF again. Since you probably won't, here they are:
1) Prefer object composition over inheritance.
2) Design to interfaces.
3) Identify what changes and encapsulate it
USE Open-Closed Principle,
Open Closed Principle of Object Oriented Design
1) Prefer object composition over inheritance.
2) Design to interfaces.
3) Identify what changes and encapsulate it
USE Open-Closed Principle,
Open Closed Principle of Object Oriented Design
Comments:
Post a Comment