I'm unsure of the value of amount_over, which is currently used inconsistently over max_. I can see how it's more descriptive, but it's not completely obvious which argument is over which, and max_ will be familiar to more developers. It's also a bit less concise:
amount_over(x, y)
max_(x - y, 0)
I'd favor removing it at this point, but if we keep it, I'd suggest switching all relevant max_ statements over to it in openfisca-uk and openfisca-us.
I'm unsure of the value of
amount_over
, which is currently used inconsistently overmax_
. I can see how it's more descriptive, but it's not completely obvious which argument is over which, andmax_
will be familiar to more developers. It's also a bit less concise:I'd favor removing it at this point, but if we keep it, I'd suggest switching all relevant
max_
statements over to it in openfisca-uk and openfisca-us.