Re:G7: Rich nations back deal to tax multinationals
by clairity on Saturday June 05, 2021 @06:52PM
(#27409084)
yah, the lookup table is just discrete points of a stepwise function, so why not just use the underlying formula instead, and smooth it out while we're at it since it simplifies the calculation?
in this era of handheld supercomputers, we're well beyond having to manually multiply out the formulas anyway. and tax forms are already basically one long formula where you just plug in the variable values in a step-by-step manner (and usually have a computer do the math for you).
It was in my second or third programming side job when I was asked by the ramshackle finance marketing upstarts I was working for if it was possible to implement the almighty Income Tax Table (in Access, obviously). I had heard scary things about that beast. A few minutes of googling (I think was already Google?) and I realized that the law in question defined a simple linear factor that increases at certain thresholds, with a tax-exmpt base per threshold to correct for any jumps. I was so disappointed! Not so much by a scary mad beast that turned out to be all tame and reasonable but by the professions of finance marketers and tax consultants who routinely acted as if it was some arbitrary monstrosity that could only be dealt with in a lookup table.