Re:Taking PHP Seriously
by oliverkyss on Friday October 14, 2016 @11:14AM
(#12708602)
So when you do calculations with important numbers, you just push the results to the store without checking them and hope for the best?
NaNs can happen in any language with floats, it's just that some languages also use exceptions in some situations.
[ Parent
| on HN ]
Re:Taking PHP Seriously
by codedokode on Friday October 14, 2016 @01:44PM
(#12709796)
You can check the result of every operation manually but it saves you time when the language does it.