Haskell, Scala, F#, OCaml.
(Some dislike it, but Java’s checked exceptions are exact homologous of result types)
Re:The Rust I wanted had no future
by marcosdumay on Monday June 05, 2023 @12:25PM
(#36198680)
The problem with Java exceptions is that they have very poor generic support.
Outside of that, yeah they just differ in very low-level aspects that most developers don't even know about.
I'm talking about things like exhaustive "switches", built-in, ENFORCED handling of "missing" values (null, undefined), and finally useful error handling.
I actually don't need any of the baremetal features of Rust. It's just that most of it's "zero-cost" abstractions are still far superior to those of other languages.