Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
_kidlike
· 5mo ago · 0 comments
optional is not how algebraic data types are implemented in Java. Basically it's the combination of sealed types and records.
Comments
[–]
joe_mwangi
5mo ago
Until they implement member patterns.
https://openjdk.org/projects/amber/design-notes/patterns/tow...