Re:'Reading crisis' prompts Denmark to end 25% tax on books
by bruce511 on Thursday August 21, 2025 @02:27AM
(#44969667)
VAT is not a compile-time value. It's a runtime value. Nevermind not scattering it in your code, it shouldn't be in your code at all.
[ Parent
| on HN ]
Re:'Reading crisis' prompts Denmark to end 25% tax on books
by Ekaros on Thursday August 21, 2025 @02:42AM
(#44969774)
VAT rate can and does change. As such it can be different on different dates. And this change might not even correspond to change of year. So it really has no place in code.
Re:'Reading crisis' prompts Denmark to end 25% tax on books
by tossandthrow on Thursday August 21, 2025 @04:48AM
(#44970525)
The US is used to this as the rate changes between states and product categories - it is not reasonable to adopt this view onto other VAT systems.
You can not transfer categorical statements like you do.