Hacker News new | past | comments | ask | show | jobs | submit login

    >>> 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).




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: