Re:Evil.js: A JavaScript library for thwarting hot-linkers
by derefr on Tuesday April 01, 2014 @12:40AM
(#7506213)
It's awful because you would expect a network encoding of a set of types to be able to encode all the valid values of those types. If you claim that your encoding can represent floats, but it can't represent Infinity or NaN, then your encoding cannot, in fact, represent floats.
[ Parent
| on HN ]
Re:Evil.js: A JavaScript library for thwarting hot-linkers
by polemic on Tuesday April 01, 2014 @01:48AM
(#7506394)
It makes no such claim!
See http://www.json.org/ - it is very cleary defined. *It's a string notation for a number. Don't get hung up on the implementations of floats or integers - it's irrelevant!