themusicman@lemmy.world to Programmer Humor@lemmy.ml · 2 years agoLemmylemmy.worldimagemessage-square15fedilinkarrow-up116arrow-down10
arrow-up116arrow-down1imageLemmylemmy.worldthemusicman@lemmy.world to Programmer Humor@lemmy.ml · 2 years agomessage-square15fedilink
minus-squarecsm10495@sh.itjust.workslinkfedilinkarrow-up1·edit-22 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-up1·2 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: pass
We are not savages now we use
with suppress(Exception): > 100 lines nonsense