The Visitor design pattern has been around for a long time, but many people still don't understand it. However, if you know how to use it, it can be a great way to optimize your code to be more...
Category: Software Architecture
Many people have a love/hate relationship with their code. Some find it too stressful to change it, while others change it freely and make methods and classes bigger and uglier. Do you want to...
If you are a C# or Java developer, you've probably already seen the Singleton design pattern mentioned in a million blog posts and StackOverflow answers. People often say it's an anti-pattern, and...
Let's face it: software design is hard. In other words, you can't just write code without first thinking about the problems you're trying to solve. For example, one of the most common problems is...
Autofac Decorator Example: How to Configure Your Autofac Container
Autofac is a great tool for building Dependency Injection (DI) friendly applications. It is an IoC container library for .NET that is really simple to use. It's simple to register a decorator...
Maintaining code is often a repetitive and unappreciated job. The code you write today will be good for a time, but your code will eventually rot. It will become brittle, difficult to maintain,...