While we are hearing tips on Clean code, the most common tip is maintaining SRP while writing class or methods, in a broader scope Module/Package/Service/API.But Irony is, SRP is the most powerful but obscured principle in the Design toolbox, this throws...
Home » Posts filed under design patterns in java with realtime examples
Design thoughts on Open/Close Principle
in
design pattern,
design patterns in java with realtime examples,
java,
java design patterns tutorial,
open closed principle example
- on September 01, 2016
- No comments
Open close principle
According to Bertrand Meyer
“software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification”
Read it the first time one can think the definition...