People often don't realize how bad their code is until they receive a bug report or get hit with a performance issue. However, sometimes bad code can mean the code that isn't used anywhere in the...
Recent Posts
When swimming through the powerful ocean of objects and classes, you will easily find that few works have been able to transform the tide as successfully as the design patterns laid out by the Gang...
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...
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...
Writing unit tests can be a real pain. You often have to write the setup code repeatedly, which can be a nightmare to maintain in the long run. However, what if you could set up your test data...
3 Amazing Ways to Unit Test Code That Calls Static Method in C#
Static methods can often seem like an excellent way to achieve reusability. I mean, what's not to like about static methods? Write them once and call them whenever you want. The problem,...