Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Whoever thought supporting sexagesimal numbers was a good idea needs to spend some extended time away from their computer to reflect on what they’ve done


Presumably that was to support time values.


That makes sense, but I think the vast majority of tools that need time values would actually expect users to just input a string and parse that themselves.

IMO anything other than the basic types supported by JSON (number, true, false, null) ought to be be parsed as a string. Or if you really insist, some kind of special syntax to make it clear it's not a string would probably be acceptable.


What do you mean by "support"?


   fastest_mile: 2:54
Not saying it's a good idea, mind you, but at least it's an ethos.


Does anyone do it that way?


We wanted a file format that's easy to read and less verbose than xml and all we got was something that is so full of pitfalls that it would be easier just not to use it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: