How do you make this truly immutable? Go!

5 203
33.4
Опубликовано 1 декабря 2025, 21:30
Here's a Java records challenge that demonstrates the difference between shallow and deep immutability. Records give you immutable fields, but what happens when those fields reference mutable objects like Lists? What patterns can we use to achieve true immutability here? Share your approach in the comments!

Subscribe to Google for Developers → goo.gle/developers

Speakers: Itzak Hinojosa
автотехномузыкадетское