Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
seagreen
on Oct 27, 2016
|
parent
|
context
|
favorite
| on:
Parsing JSON is a Minefield
I respect the pragmatism of your reply. At the same time "distinguish decimals and integers" is about as far from a subtle distinction as you can get.
inimino
on Oct 28, 2016
[–]
The distinction may be familiar to us, but if you ask someone on the street, "1" and "1.0" are the same number. The habit we have of giving them different types is somewhat arbitrary.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: