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