Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
apta
on June 16, 2020
|
parent
|
context
|
favorite
| on:
The Next Step for Generics
A form of pattern matching and switch expression has already made it to the language as of JDK 14. Those are paving the way for full blown pattern matching and sealed types:
https://cr.openjdk.java.net/~briangoetz/amber/datum.html
https://openjdk.java.net/jeps/360
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
https://cr.openjdk.java.net/~briangoetz/amber/datum.html
https://openjdk.java.net/jeps/360