Testing Object-Oriented Code – A Better Design Approach
We have spent a lot of time on the core concepts of object-oriented design and programming. However, testing object-oriented code is at least as essential... Read more
We have spent a lot of time on the core concepts of object-oriented design and programming. However, testing object-oriented code is at least as essential... 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