qaz@lemmy.world to Programmer Humor@programming.devEnglish · edit-213 days agoSlapping on a .expect is also error handling!lemmy.worldexternal-linkmessage-square29fedilinkarrow-up1175arrow-down15file-text
arrow-up1170arrow-down1external-linkSlapping on a .expect is also error handling!lemmy.worldqaz@lemmy.world to Programmer Humor@programming.devEnglish · edit-213 days agomessage-square29fedilinkfile-text
minus-squaremagic_lobster_party@fedia.iolinkfedilinkarrow-up9·13 days 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.