Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
therealdrag0
on Oct 15, 2022
|
parent
|
context
|
favorite
| on:
How boring should your team's codebases be
Does Scala have that?
erik_seaberg
on Oct 15, 2022
[–]
Scala has sealed traits, which may only be implemented in the same file, and pattern matching must be exhaustive. At a glance, Java 17 has something similar (JEP 409 sealed classes).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: