Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah, this is basically what got me to that idea of separating formula from parameter: whenever politics should care about some quality of a formula, it gets completely drowned in the noise of people screaming at each other trying to drag the parameters one way or the other. As evidenced by every single discussion about UBI. Sometimes the formula still turns out ok, but far too often not ok at all.

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.



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).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: