Skip to content

Emphasize that the decorated function is a different entity #20

Description

@chillenzer

In the Decorators chapter the first example decorates by hand and uses the same name for the original and the decorated function. This is the standard pattern from which the usefulness of decorators arises but I could imagine that it is could even be better for starters to distinguish between the two versions of the function and make the identification of the two an explicit step of the process of arising at decorators.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions