Jason Novinger@programming.devM to Python@programming.dev · 10 months agoDon't use Python's propertywww.b-list.orgexternal-linkmessage-square6fedilinkarrow-up115arrow-down13
arrow-up112arrow-down1external-linkDon't use Python's propertywww.b-list.orgJason Novinger@programming.devM to Python@programming.dev · 10 months agomessage-square6fedilink
minus-squareTroy@lemmy.calinkfedilinkarrow-up19arrow-down1·10 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.