Y
Hacker News
new
|
ask
|
show
|
jobs
by
esafak
428 days ago
Java's sealed interfaces enable typing errors.
https://blogs.oracle.com/javamagazine/post/java-sealed-class...
1 comments
keybored
427 days ago
Although syntactically lightweight it is the opposite of.
link
esafak
427 days ago
I agree; Java is constitutionally incapable of being lightweight. I much prefer Typescript's union syntax. I'm glad Python copied it.
link
peterashford
426 days ago
records are lightweight
link