News for hackers. Stuff that matters.
Re:Uncle Bob and Silver Bullets (2017) by layer8 on Monday July 04, 2022 @03:11PM (#31980683)
> my pet peeve is that operator== is even defined for floats

Then people would start writing `signum(a - b) == 0` (or some equivalent) instead of `a == b`, and/or factor that out into a helper function. Not sure that would be an improvement.

There are no comments on this comment yet.