mgattozzi,
@mgattozzi@hachyderm.io avatar

After almost 9 years of Rust I've come to the conclusion that it's not just the way we write errors that's bad, it's also that Result guides us towards bad error handling and ? Makes it worse (handle my error? No just chuck it up the stack) I just need to write a post soon huh

I also think thiserror and anyhow are detrimental to good error handling as well and I'm guilty of doing this. The easy way to write error handling is the bad way to write good robust tools and programs

mgattozzi,
@mgattozzi@hachyderm.io avatar

Also God forbid you want to return multiple failures to handle all at once, while processing say a list of things that could succeed

emattiza,
@emattiza@hachyderm.io avatar

@mgattozzi Validation monad on nightly when? Axum form handling and error return always bugs me around single valued errors

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • ngwrru68w68
  • DreamBathrooms
  • khanakhh
  • magazineikmin
  • InstantRegret
  • tacticalgear
  • thenastyranch
  • Youngstown
  • rosin
  • slotface
  • modclub
  • everett
  • kavyap
  • Durango
  • JUstTest
  • osvaldo12
  • normalnudes
  • cubers
  • ethstaker
  • mdbf
  • tester
  • GTA5RPClips
  • cisconetworking
  • Leos
  • megavids
  • provamag3
  • anitta
  • lostlight
  • All magazines