Tag Archives: programming
Is parameterized logic always harmful?
I’ve read plenty of times that parameterized logic is considered harmful in testable design. What’s parameterized logic? It’s stuff like this: int Calculate(int lhs, int rhs, Operation op) { if (Operation == Operation.Add) { return lhs + rhs; } else … Continue reading