Skip to content

PBs with lambdas #41

Description

@michaelbjames

In a pilot, a participant used defaultdict, which takes a lambda to initialize values in a dictionary when the key isn't present.
The lambda didn't create a pleasant experience.

image

Suggestion:

  1. instead of function <lambda> ..., perhaps print the text of the lambda function?
  2. instead of function <lambda> ..., just the word lambda 1, lambda 2, where each number represents a unique function.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions