Java Withers - Inside Java Newscast #67


Apr 17 2024 12 mins   6
JEP 468 proposes a solution to the verbosity that can come from modeling mutable state with immutable records: *derived record creation* aka *with expressions* aka *withers* . That'll make it easy and succinct to create a copy of a record instance while changing just a few components. *Links* JEP 468: https://openjdk.org/jeps/468 It's not names parameters: https://mail.openjdk.org/pipermail/amber-dev/2024-March/008648.html *Chapters* 0:00 Intro 1:23 When Immutability Births Verbosity 3:22 Derived Record Creation 5:12 Nitty Gritty 6:39 Named Parameters - Not! 8:34 Brian Goetz on Named Parameters *Tags* #Java #JDK #OpenJDK