Object-oriented programming tries to model real-life objects into the programming world. This makes the programs easy to co-relate with real-world and understand. Encapsulation is one of the key concepts, which plays crucial role in this modelling along with Abstraction and...
English meaning of abstraction Something that exists only as an idea. Technical translation Abstraction is the concept of representing something at high level, without going into too much details. Anyone involved into object oriented programming would be already aware of...
In recent posts, we identified what issues can arise if we keep going with the design shown in Class Explosion and Etymology Of Decorator Pattern. Lets take a quick look at what fundamental design problems exists in this design. Exsisting...
Today our purpose is to know why and when to use decorator pattern. In last post about class explosion, we found that there is class explosion if we go with the first trial. Now what we can do to improve...