> That enforced error handling is novel to Rust afaik
Hardly, though Rust of course has merit in making it popular, to the point that people think it was introduced by the language.
Hardly, though Rust of course has merit in making it popular, to the point that people think it was introduced by the language.
Whereas if you compare Rust to Python, C(++), or Go as I was - having to consume a returned 'result' is more notable.
Well that's not true, that's completely orthogonal?
There's a go vet pass as well. https://pkg.go.dev/github.com/golangci/govet#hdr-Unused_resu...
Scala's Either[A, B] is another example.
Is Scala's Try[A] "specific"?