Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
extr
on May 21, 2023
|
parent
|
context
|
favorite
| on:
Writing Python like it's Rust
FWIW personally I use @staticmethod when I have small-ish "utility" methods that are only ever used in-class. Basically just a convenient way of organizing code and making the intended context clear.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: