tl;dr Strategy, or Function Objects in some languages, ...

Problem

Context

Solution

Some questions arise out of this:

Implementations

Consequences

A Strategy tends to lead to several consequences:

Variations

A couple of different takes on the Strategy include:

Function-as-Object

The Envoy pattern language talks about Function-as-Object, which is closely related to Strategy.

Last updated: 25 February 2022

Tags: pattern   behavioral