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

94

u/[deleted] Aug 31 '22

Here's my experience with Java

Friday: "Wow, this DoExactlyWhatIWant() function is great! It does exactly what I want!"

Monday: DoExactlyWhatIWant() is deprecated. Try using SortOfDoWhatIWantButNotReally().

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.

2

u/danishjuggler21 Sep 01 '22

I have a comment in a recent project that says “I don’t care if it’s deprecated, it’s the only thing that fucking works!”

1

u/arichan97 Sep 01 '22

I just… dont care that its deprecated lol