After say about a year of serious development, with a large project… the importance of design patterns is realized when it seems almost all problems have idenitifiable patterns in their solutions.
One solution I hate to see is when suddenly, it’s necessary to ‘cast up’ an object from something primitive to an advanced data structure. Maybe if I thought more about how to solve the problem neatly, I might come up with a better solution. The Factory Pattern might work here.