qaz@lemmy.world to Programmer Humor@programming.devEnglish · edit-21 year agoSlapping on a .expect is also error handling!lemmy.worldexternal-linkmessage-square26linkfedilinkarrow-up1106arrow-down10file-text
arrow-up1106arrow-down1external-linkSlapping on a .expect is also error handling!lemmy.worldqaz@lemmy.world to Programmer Humor@programming.devEnglish · edit-21 year agomessage-square26linkfedilinkfile-text
minus-squaremagic_lobster_party@fedia.iolinkfedilinkarrow-up7·1 year agoI like the flexibility Rust offers with the result type. It makes the error handling part of the control flow rather than an afterthought.
I like the flexibility Rust offers with the result type. It makes the error handling part of the control flow rather than an afterthought.