whoareu@lemmy.ca to Programming@programming.devEnglish · 5 months agowhich python trick or hack you know that you would want to share?message-squaremessage-square33fedilinkarrow-up182arrow-down12
arrow-up180arrow-down1message-squarewhich python trick or hack you know that you would want to share?whoareu@lemmy.ca to Programming@programming.devEnglish · 5 months agomessage-square33fedilink
minus-squaregrue@lemmy.worldlinkfedilinkEnglisharrow-up7·5 months agoUse fewer loops and more comprehensions. Also, for the love of $DEITY, embrace EAFP!
minus-squareQuizzaciousOtter@lemm.eelinkfedilinkarrow-up11·5 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?