>>> import this
> ...
> Explicit is better than implicit.
> ...
> There should be one-- and preferably only one --obvious way to do it.
It's one of Python's philosophies (/s).
I agree that this is a more explicit way to handle metaprogramming in Python. It's analogous to method decorators, unlike metaclasses, which has no "metamethod" equivalent (AFAIK).
I agree that this is a more explicit way to handle metaprogramming in Python. It's analogous to method decorators, unlike metaclasses, which has no "metamethod" equivalent (AFAIK).