qaz@lemmy.world to Programmer Humor@programming.devEnglish · edit-24 days agoSlapping on a .expect is also error handling!lemmy.worldimagemessage-square29fedilinkarrow-up1171arrow-down15file-text
arrow-up1166arrow-down1imageSlapping on a .expect is also error handling!lemmy.worldqaz@lemmy.world to Programmer Humor@programming.devEnglish · edit-24 days agomessage-square29fedilinkfile-text
minus-squaredejected_warp_core@lemmy.worldlinkfedilinkarrow-up2·1 day agoExactly. Personally, I call it “python mode” since you’re staying on the “happy path” and let the program just crash out if those expectations aren’t met.
Exactly.
Personally, I call it “python mode” since you’re staying on the “happy path” and let the program just crash out if those expectations aren’t met.