Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Joker_vD
on Jan 28, 2021
|
parent
|
context
|
favorite
| on:
OO in Python is mostly pointless
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.
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: