qaz@lemmy.world to Programmer Humor@programming.devEnglish · edit-227 days agoSlapping on a .expect is also error handling!lemmy.worldimagemessage-square28linkfedilinkarrow-up11arrow-down10file-text
arrow-up11arrow-down1imageSlapping on a .expect is also error handling!lemmy.worldqaz@lemmy.world to Programmer Humor@programming.devEnglish · edit-227 days agomessage-square28linkfedilinkfile-text
minus-squaredejected_warp_core@lemmy.worldlinkfedilinkarrow-up0·24 days 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.