china🇨🇳@lemmy.ca to Programming@programming.devEnglish · 2 years agowhich python trick or hack you know that you would want to share?message-squaremessage-square44linkfedilinkarrow-up197arrow-down12
arrow-up195arrow-down1message-squarewhich python trick or hack you know that you would want to share?china🇨🇳@lemmy.ca to Programming@programming.devEnglish · 2 years agomessage-square44linkfedilink
minus-squareResoluteCatnap@lemmy.mllinkfedilinkEnglisharrow-up4·2 years agoThis gives some better context. https://stackoverflow.com/questions/21553327/why-is-except-pass-a-bad-programming-practice But essentially ignoring every single error a program could generate is not great. It’d be better to know what those errors are and fix/prevent them from occurring in the first place.
This gives some better context. https://stackoverflow.com/questions/21553327/why-is-except-pass-a-bad-programming-practice
But essentially ignoring every single error a program could generate is not great. It’d be better to know what those errors are and fix/prevent them from occurring in the first place.