qaz@lemmy.world to Programmer Humor@programming.devEnglish · edit-21 month agoSlapping on a .expect is also error handling!lemmy.worldimagemessage-square28linkfedilinkarrow-up1141arrow-down15file-text
arrow-up1136arrow-down1imageSlapping on a .expect is also error handling!lemmy.worldqaz@lemmy.world to Programmer Humor@programming.devEnglish · edit-21 month agomessage-square28linkfedilinkfile-text
minus-squaremagic_lobster_party@fedia.iolinkfedilinkarrow-up4·1 month 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.