top | item 44838030 (no title) pgte | 6 months ago Why your mental model of dates is broken, how programming languages gaslight us about time, and how Decipad’s interval-based approach fixes it. discuss order hn newest re|6 months ago > Every date library you’ve ever used is lying to you.I feel like you haven't used most date libraries.https://docs.oracle.com/javase/8/docs/api/java/time/YearMont... / https://docs.python.org/3/library/datetime.html#date-objects / https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe... windock|6 months ago Java date/time handling is plain beautiful. I'm glad other languages like js started adopting the same approach.
re|6 months ago > Every date library you’ve ever used is lying to you.I feel like you haven't used most date libraries.https://docs.oracle.com/javase/8/docs/api/java/time/YearMont... / https://docs.python.org/3/library/datetime.html#date-objects / https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe... windock|6 months ago Java date/time handling is plain beautiful. I'm glad other languages like js started adopting the same approach.
windock|6 months ago Java date/time handling is plain beautiful. I'm glad other languages like js started adopting the same approach.
re|6 months ago
I feel like you haven't used most date libraries.
https://docs.oracle.com/javase/8/docs/api/java/time/YearMont... / https://docs.python.org/3/library/datetime.html#date-objects / https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
windock|6 months ago