Stamets@lemmy.world to Lemmy Shitpost@lemmy.world · 4 days agoThe Legends is among uslemmy.worldimagemessage-square56fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageThe Legends is among uslemmy.worldStamets@lemmy.world to Lemmy Shitpost@lemmy.world · 4 days agomessage-square56fedilink
minus-squareTja@programming.devlinkfedilinkarrow-up0·edit-22 days agoNot only nested ifs. It’s not even correct (doesn’t check for activity existing). And it’s not even pythonic (ask for forgiveness, not for permission). Just access the thing, catch the exception and be done with it.
Not only nested ifs. It’s not even correct (doesn’t check for activity existing). And it’s not even pythonic (ask for forgiveness, not for permission). Just access the thing, catch the exception and be done with it.