Destructors And Cleaning Up An Instance: Object-Oriented Design
When we get to the end of our use of a class instance, we need to clean up after ourselves. This is where destructors come... Read more
When we get to the end of our use of a class instance, we need to clean up after ourselves. This is where destructors come... 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