Hacker News new | past | comments | ask | show | jobs | submit login

Having worked at a software company whose internal date format was indeed based on days as the base unit, I suggest that this is an extremely bad idea. 0.75 may be 6pm, but what is 7pm? 0.7916666666666666 is as close as computers will generally come, but of course it's lossy; try adding increments of an hour and sooner or later you've got an irritating rounding issue.

This is solvable using arbitrary-precision decimal libraries, but relying on one of those for just dealing with general time stuff is a Bad Idea.




I think the idea is that, switching to a decimal system, we would no longer have a use for 7pm - we would just do things at 0.8d


Sure, but trying to persuade billions of people to switch to a new system with unclear benefits and no backwards compatibility is not a recipe for success.




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

Search: