Hacker News new | ask | show | jobs
by PhilipRoman 734 days ago
I'd say the real issue is reusing the same division operator for integers and floats. Integer division is an ugly operation (aside from powers of two) because it is extremely slow (for non-constant denominator) and has a uniquely high loss of information. It is a footgun even by itself.