Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
esafak
11mo ago
0 comments
Share
Java's sealed interfaces enable typing errors.
https://blogs.oracle.com/javamagazine/post/java-sealed-class...
0 comments
default
newest
oldest
keybored
11mo ago
Although syntactically lightweight it is the opposite of.
esafak
OP
11mo ago
I agree; Java is constitutionally incapable of being lightweight. I much prefer Typescript's union syntax. I'm glad Python copied it.
peterashford
11mo ago
records are lightweight
j
/
k
navigate · click thread line to collapse