Jason Novinger@programming.devM to Python@programming.dev · 8 months agoDon't use Python's propertywww.b-list.orgexternal-linkmessage-square5fedilinkarrow-up113arrow-down13
arrow-up110arrow-down1external-linkDon't use Python's propertywww.b-list.orgJason Novinger@programming.devM to Python@programming.dev · 8 months agomessage-square5fedilink
minus-squareTroy@lemmy.calinkfedilinkarrow-up16arrow-down1·8 months agoTl;dr: don’t use @property during design, it’s almost certainly the wrong pattern. But use it to retrofit a method to a value.
Tl;dr: don’t use @property during design, it’s almost certainly the wrong pattern. But use it to retrofit a method to a value.