3 ms·
> Some sort of botched code rewrite where values doesn't retain their meanings? Yes, exactly. It's supposed to catch the rewrite where somebody turns (a * 100)
by will4274 7y ago
> Some sort of botched code rewrite where values doesn't retain their meanings?
Yes, exactly. It's supposed to catch the rewrite where somebody turns (a * 100) / b > 95 into (a / b) * 100 > 95 and suddenly, the code doesn't work anymore.
Showing a warning is full scenario - it has a whole UX. If this warning is important enough to have a PM, a UX designer, and be translated into 20 languages, it's important enough for the engineer to make sure it actually shows up when its supposed to.