So you write something like
class Calculator
getSum(v1, v2) getProduct(v1, v2)
You don't have a use case for subtracting numbers. You expect this to be consumed by other teams, and it's plausible they will need to subtract.
Do you add getDifference() or do you view that as bad practice?
bhaney•9mo ago
NotAnOtter•9mo ago
bhaney•9mo ago