Take advantage of the null object pattern in .NET to eliminate the need for null checks and avoid runtime errors in your applications. You might often encounter null reference exceptions in your ...
Practical .NET Move Beyond Factory Methods with the Builder Pattern in C#/Visual Basic When your objects get sufficiently complicated to create, it's time to simplify your life by moving to the ...
Peter starts off with a perfectly good solution to a problem but then complicates the problem . . . and ends up moving to a different design pattern. While on that journey he has some best practices ...
Get an overview of design patterns, then use what you've learned to evaluate whether the Composite pattern is a good choice for a particular Java use case Numerous strategies have been devised to ...
It's not good enough to simply write code that works. That code must be easily maintained, enhanced and debugged when problems happen. One of the reasons why object-oriented programming is so popular ...