Re:OO in Python is mostly pointless
by Joker_vD on Thursday January 28, 2021 @10:52AM
(#25943764)
Decorating with "@", as Ruby does? I.e., "a = 42" assigns to a local variable "a", and "@a = 42" assigns to the instance's field "a". Clearly visible, and no magic variables.
[ Parent
| on HN ]
There are no comments on this comment yet.