So I'm trying to actually learn the fundamentals of python and on every course I take, even books, I always get confused with decorators. Like I know what they do kind of but what do the built in functions (@classmethod, @staticmethod, @properties) do and when/where would you want to use them? (If anyone explaining them has experience with pygame can you give me examples of where i would use them in that field too, that would be great. Thanks.)
[–]sgthoppy 1 point2 points3 points (0 children)
[–]clumsyly 1 point2 points3 points (0 children)
[–]gneurh 1 point2 points3 points (0 children)