D equivalent to Rust or Scala's Optional and Result and best practice ?

dangbinghoo dangbinghoo at gmail.com
Mon Oct 18 16:03:53 UTC 2021


hi,

It seems that now we have `Optional` and `Result` packages in 
Dub, are these enough or fully equal to Rust or Scala's 
error-handling and pattern-matching?

if these are enough for real-code, any best practice advice?

thanks!



More information about the Digitalmars-d-learn mailing list