whoareu@lemmy.ca to Programming@programming.devEnglish · 5 months agowhich python trick or hack you know that you would want to share?message-squaremessage-square43fedilinkarrow-up197arrow-down12
arrow-up195arrow-down1message-squarewhich python trick or hack you know that you would want to share?whoareu@lemmy.ca to Programming@programming.devEnglish · 5 months agomessage-square43fedilink
minus-squareQuizzaciousOtter@lemm.eelinkfedilinkarrow-up6·5 months agoI have to mention dataclasses here, especially with frozen=True. Seriously, use dataclasses whenever possible, they’re great.
I have to mention
dataclasses
here, especially withfrozen=True
.Seriously, use dataclasses whenever possible, they’re great.