themusicman@lemmy.world to Programmer Humor@lemmy.ml · 3 years agoLemmylemmy.worldimagemessage-square37linkfedilinkarrow-up136arrow-down11cross-posted to: [email protected]
arrow-up135arrow-down1imageLemmylemmy.worldthemusicman@lemmy.world to Programmer Humor@lemmy.ml · 3 years agomessage-square37linkfedilinkcross-posted to: [email protected]
minus-squarecsm10495@sh.itjust.workslinkfedilinkarrow-up5·3 years agoYou know at least it printed an error. I hate when things silently swallow errors. I’m looking at you, Python programmers: try: <100 lines of nonsense> except: pass
minus-squareRimorso@feddit.itlinkfedilinkarrow-up4·3 years agoWe are not savages now we use with suppress(Exception): > 100 lines nonsense
You know at least it printed an error. I hate when things silently swallow errors.
I’m looking at you, Python programmers:
try: <100 lines of nonsense> except: passWe are not savages now we use
with suppress(Exception): > 100 lines nonsense