News for hackers. Stuff that matters.
Re:The Rust I wanted had no future by LinXitoW on Monday June 05, 2023 @07:51AM (#36195024)
To me, one thing missing from most popular web languages is the single best part of Rust: A well-defined handling of the non-happy path.

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.

Re:The Rust I wanted had no future by kaba0 on Monday June 05, 2023 @10:10AM (#36196396)
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.