Re:Java 21 makes me like Java again
by kaba0 on Sunday September 17, 2023 @07:58AM
(#37544103)
Rust has sum types named wrongly as enums, which java also has as sealed interfaces. The option type is just one example for a sum type, which is as easy to express in Java as
Sure, you have written 3 words more than Rust, and?
[ Parent
| on HN ]
There are no comments on this comment yet.