Re:Transit – A format for conveying values between different...
by elros on Wednesday July 23, 2014 @04:57AM
(#8073419)
Definitely as a string. Numbers aren't things that have digits. Numbers are things you do math with.
[ Parent
| on HN ]
Re:Transit – A format for conveying values between different...
by kalleboo on Wednesday July 23, 2014 @08:39AM
(#8074008)
OK, that's logical. So where do we specify this without a schema? What happens if a client sends a number instead of a string to the server? Should it accept it and convert it, or return an error?