Hey Spir!
Maybe you should read the book Design Patterns from Erich Gamma and
the rest of the gang of four. (A.T.Hofkamp, mentioning its
terminology, got me thinking.) You ask complicated questions that
normal newbies don't ask, so you should maybe read an advanced book.
The book's idea is:
Thank you for this relevant precise review, Albert. I will answer
specific topic, then give a overall introduction of the problem(s)
adressed by this project, that may clarify a bit some topics.
this is quite a long post
A.T.Hofkamp a écrit :
However, by moving the 'type' information to a
[forwarded, only A.T.Hofkamp got this answer]
A.T.Hofkamp a écrit :
spir wrote:
Q: Is there a way to write /type/ (class) functions, meaning methods
not bound to an instance, in python?
As Bob Gailer already said, staticmethod seems to do what you want.
Thank you for you answers about