Y
Hacker News
new
|
ask
|
show
|
jobs
by
extr
1120 days ago
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.