These past few weeks, I found myself doing some weekend refactoring. I blame the Manila typhoon season not being able to do some weekend activities. As I was doing some refactoring, I found myself validating arguments once again. A few months back, I encountered these kind of code: public int DoSomething(ClassA param1, ClassB param2) {…

Read More...