Re:Shipping Culture Is Hurting Us
by romaniv on Tuesday February 17, 2015 @03:35PM
(#9064777)
NaN behavior might actually be appropriate in Haskell. I don't know enough about it to comment. But it is not helpful in JavaScript. Part of the problem is that in JS you can get NaN in a variety of different ways that do not involve mathematics. And that all numbers can be floats (whereas in other languages we have integers). And that NaN can be silently propagated and morphed in in a more complex expressions.
[ Parent
| on HN ]
There are no comments on this comment yet.