Is A and Has A Concepts in Object-Oriented Design
The ideas of “is a” and “has a” are often discussed as part of object-oriented design. These concepts may seem simple and obvious. However, they... Read more
The ideas of “is a” and “has a” are often discussed as part of object-oriented design. These concepts may seem simple and obvious. However, they... Read more
The ideas of cohesion and coupling point us to paths that either place functionality in smaller or larger classes. We discuss granular interfaces in this... Read more
We switch gears in this episode and start to look at inheritance. This is a core feature of object-oriented design and the most recognizable attribute. ... Read more
This episode, we look at interfaces. These are not supported by all languages. However, when they are supported, they are very useful. The interface specification... Read more
One of the essential concepts to understand is flexibility in OOP. A good design requires the ability to extend it. There are ways to do... Read more
One of the challenges of good polymorphic design is code consistency. We are building a way to communicate with developers. Therefore, our language or syntax... Read more