themusicman@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year agoLemmylemmy.worldimagemessage-square75fedilinkarrow-up1430arrow-down19cross-posted to: 196@lemmy.blahaj.zone
arrow-up1421arrow-down1imageLemmylemmy.worldthemusicman@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square75fedilinkcross-posted to: 196@lemmy.blahaj.zone
minus-squarecsm10495@sh.itjust.workslinkfedilinkEnglisharrow-up46arrow-down1·edit-21 year 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.itlinkfedilinkEnglisharrow-up29·1 year 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