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