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

Indeed; the converse would be to add (or remove) micro-leapseconds in order to keep accurate time. That way it would happen so often that the code would get tested and we'd have working implementations (maybe we could fix the traditional Apple issues with leap years at the same time).



I’m pretty sure we would get bugs whenever the accumulated micro-leapseconds would reach a full second.


Mmm...true, some programmers even have problems with gettimeofday().

The point still stands though - common problems have tested code, uncommon/rare problems rarely have battle-hardened solutions.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: