whoareu@lemmy.ca to ProgrammingEnglish · 6 months agowhich python trick or hack you know that you would want to share?message-squaremessage-square45fedilinkarrow-up198arrow-down12
arrow-up196arrow-down1message-squarewhich python trick or hack you know that you would want to share?whoareu@lemmy.ca to ProgrammingEnglish · 6 months agomessage-square45fedilink
minus-squaregrue@lemmy.worldlinkfedilinkEnglisharrow-up8·6 months agoUse fewer loops and more comprehensions. Also, for the love of $DEITY, embrace EAFP!
minus-squareQuizzaciousOtter@lemm.eelinkfedilinkarrow-up15·6 months agoEAFP - “Easier to ask for forgiveness than for permission”. For those who are (like me) unfamiliar with this… acronym?
Use fewer loops and more comprehensions.
Also, for the love of $DEITY, embrace EAFP!
EAFP - “Easier to ask for forgiveness than for permission”.
For those who are (like me) unfamiliar with this… acronym?