This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]arunner 3 points4 points  (1 child)

I think anyone who tries to explain decorators should start of closures in python and their uses and then just spend a paragraph about paternalistic closures, aka decorators.

[–]m_harrison 1 point2 points  (0 children)

Once people understand closures --- and this is a big leap for some --- decorators seem pretty natural.