Re:Project Valhalla, Explained: How a Decade of Work Arrives...
by _kidlike on Friday June 19, 2026 @04:52AM
(#48596405)
optional is not how algebraic data types are implemented in Java. Basically it's the combination of sealed types and records.
[ Parent
| on HN ]
Re:Project Valhalla, Explained: How a Decade of Work Arrives...
by joe_mwangi on Friday June 19, 2026 @05:06PM
(#48603253)
Until they implement member patterns. https://openjdk.org/projects/amber/design-notes/patterns/tow...