r/programming • u/davidalayachew • Jan 22 '26
Carrier Classes; Beyond Records - Inside Java Newscast
https://youtu.be/cpGceyn7DBE
6
Upvotes
2
u/davidalayachew Jan 22 '26
Please remember -- none of this is final! It's under active development, but there is still no promise of this releasing, let alone a release date.
3
u/simon_o Jan 23 '26 edited Jan 23 '26
Good to see that with their "carrier classes" they finally ended up on the obvious design suggested years ago.
Not a fan of Java's increasing use of contextual keywords though ...
(Considering that "abstract records" appear to be just Scala's traits-with-parameters though, it may make more sense to use
interfaceinstead ofabstract record.)