7
I’m studying about the subject of the title and I can’t get the idea with the explanation on video and the Stk I found, so when and why we use static method @staticmethod
in python, one has some positive point besides simply not referencing the object with the self
( The question holds for Closures / Decorators ( Which I see being widely used ( s ) in Javascript languages but in python ... ) in such language ?
Do you have a reference so I can study more about
@classmethod
?– Jefferson Quesado
https://julien.danjou.info/blog/2013/guide-python-static-class-abstract-methods
– Marcelo Lino
You would know to inform me of the name given to these ' items ' ( Static met Hod, Property, class met Hod ... ) of the language ?
– Luis Souza
The translation would be static method, class property and method. But if you’re wondering what those @on top of the methods are, this is called a decorator.
– Marcelo Lino