Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ecshafer
on Sept 22, 2023
|
parent
|
context
|
favorite
| on:
Java 21: The Nice, the Meh, and the Momentous
I think that you can replace almost any If else with pattern matching. Pattern matching makes type checks easier, which if you are really heavily using types through your program, makes pattern matching even better.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: