Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kaba0
on Feb 4, 2021
|
parent
|
context
|
favorite
| on:
The visitor pattern is essentially the same thing ...
Just a heads-up, but sealed classes (basically sum types) and proper pattern matching is coming to Java.
Twisol
on Feb 4, 2021
[–]
After many years of not having them ;) I'll be very glad to be able to retire this well-used gripe.
mrkeen
on Feb 4, 2021
|
parent
[–]
We got Streams that don't short-circuit properly and Optionals that throw NullPointerExceptions, what creative fuck-ups do you reckon we'll get with sum types & pattern matching?
Twisol
on Feb 4, 2021
|
root
|
parent
[–]
Shh, you've said the quiet part out loud ;)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: