News for hackers. Stuff that matters.
Re:Rating 26 years of Java changes by MBCook on Saturday October 11, 2025 @08:14PM (#45553960)
Records are great, but objects work.

Date flat out doesn’t. We needed something in the standard library to fix that. It should’ve happened long before it did.

Re:Rating 26 years of Java changes by halffullbrain on Sunday October 12, 2025 @08:12AM (#45557639)
Totally agree, I was just pointing out to GP why LocalDate wasn’t a record. (Date and Calendar should never be used in new code. Note how the new date/time API doesn’t have any conversions to/from old types (Date+Calendar), they only in the opposite direction)

Can’t wait for destructuring support for classes, though.

Re:Rating 26 years of Java changes by MBCook on Sunday October 12, 2025 @10:24AM (#45558443)
Yes! Ever since I learned about it and was able to use it in some other languages I’ve been waiting for destructuring in Java to hit prime time.