You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 3, 2022. It is now read-only.
(Python itself does have magic names, but they are all dundered. I still think that in this case, decorators are more pythonic than dundered names anyways.)
The text was updated successfully, but these errors were encountered:
dubslow
changed the title
Magic name callbacks?
Magic name callbacks -> decorators
Jan 30, 2015
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In my opinion, magically named callbacks are A Bad Idea™. Instead, it would by more pythonic IMO to use decorators to satisfy a callback, e.g.
(Python itself does have magic names, but they are all dundered. I still think that in this case, decorators are more pythonic than dundered names anyways.)
The text was updated successfully, but these errors were encountered: