News for hackers. Stuff that matters.
Re:Operator constraints in Go by jeffbee on Monday May 23, 2022 @03:41PM (#31483967)
The entire C++ STL is a huge footgun for this very reason. None of the algorithms work on floats unless you guarantee the absence of NaN (which the STL assumes without being terribly vocal about it).

There are no comments on this comment yet.