Constructors And Initializers In Object-Oriented Design
When we create an instance of a class, we often need to do some initialization. Constructors and initializers achieve this goal. These are two different... Read more
When we create an instance of a class, we often need to do some initialization. Constructors and initializers achieve this goal. These are two different... Read more
In this episode, we look at how to use static attributes and methods in our class design. These are important but can be over-used. They... Read more
We have spent a few episodes looking at cohesion and coupling. Now it is time to find balance in these two software design approaches. Each... Read more
In object-oriented software, we talk about the concept of coupling. Put simply; this is a small object approach to our solution. It is the opposite... Read more
This episode focuses on cohesion and the idea of using fewer large objects to solve a problem. This approach is often considered the opposite of... Read more
Cohesion and coupling are options that are often discussed in object-oriented design circles. They are two ways to approach a solution. On the one hand,... Read more