Skip to content

Glossary: Software Design Patterns

lambda

A way to write a small unnamed function in one expression, such as `lambda order: order["total"]`. It is handy as a sort key, a test clock or an entry in a table of factories.

Where the book teaches it

Related terms

Strategy