Sunday, December 12, 2010

What is open/closed principle for design patterns?

It say's classes should be open for extension but closed for modification. And the benefits would be when we extend some existing module rather than modifying it we don't need to retest your well tested existing code.

*Share your view*

No comments:

Post a Comment