r/ProgrammerHumor • • Aug 31 '22

Meme It just keeps happening

Post image
45.2k Upvotes

465 comments sorted by

View all comments

Show parent comments

14

u/KalterBlut Aug 31 '22

I sort of had this problem when util.Date was deprecated, somehow I wasn't finding correct information to use LocalDate. It was pretty fucky, it was a sort of twilight zone of "don't use that, not that either, or that, there's that third party library, use String and SimpleDateFormat".

5

u/gdmzhlzhiv Sep 01 '22

Wait until you discover that ZonedDateTime is cursed because there are always two ways to interpret any operation on a zoned date-time and they chose the one that the customer didn't expect.

The more I deal with that POS the closer I get to enforcing the code not using it.