This post originated from an RSS feed registered with Java Buzz
by Rajiv Narula.
Original Post: Open Closed Principle
Feed Title: yada yada yada
Feed URL: http://www.rajivnarula.com/blog/feed/
Feed Description: Some random and structured thoughts....
This is one of the most powerful principle of OOP.
The Principle
Simply stated- what this means is- once you are done coding an entity - e.g Class,function etc- you should have no reason to modify it again (…hence closed), but that entity should be available for modification via extensions e.g inheritance or any other smart mechanism [...]