If you're looking at this page, you may have ended up here because you were sent here, or perhaps you're just looking for some programming examples or wanting to understand some design patterns.
In this article I've put together a couple of simple examples on different design patterns that you might see in every day software.
#First Example
In this first example, an exercise was given to me where a junior wrote some code that was wrong. In this exercise I talk about what I did to fix it and then how I enhanced it even further.
https://www.youtube.com/watch?v=SxxRbLfsd1U
#A Better Approach
While this approach works, it's not the best. In this second video I walk through a better implementation that could scale and handle multiple different types of products.