whoareu@lemmy.ca to Programming@programming.devEnglish · 7 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 Programming@programming.devEnglish · 7 months agomessage-square45fedilink
minus-squaregrue@lemmy.worldlinkfedilinkEnglisharrow-up8·7 months agoUse fewer loops and more comprehensions. Also, for the love of $DEITY, embrace EAFP!
minus-squareQuizzaciousOtter@lemm.eelinkfedilinkarrow-up14·7 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?