tdd-ebook
tdd-ebook copied to clipboard
add bool method parameter antipattern
public void DoSomething(int a, int b, bool doThisWayOrOtherwise) { if(doThisWayOrOtherwise) behaviorA(); else behaviorB(); }