Rex Kerr
Jan 20, 2025

--

If you have integer-value rectangles, `isSquare` is fine. But if you have floating-point rectangles, `isSquare` is actually `isSquareToWithinSomeToleranceGoodLuckWithThat`. So you really do need a definitive declaration that, yes, this is actually exactly square.

--

--

Rex Kerr
Rex Kerr

Written by Rex Kerr

One who rejoices when everything is made as simple as possible, but no simpler. Sayer of things that may be wrong, but not so bad that they're not even wrong.

No responses yet