Strategy or Function¶
Stable ID: decision.strategy-vs-function
Kind: decision-record
Status: stable
Source: skill/references/decisions/strategy-vs-function.md
Purpose¶
Choose between a strategy type and a first-class function based on state, lifecycle, operations, and public-contract needs.
Use when¶
- A design choice matches the question described by this decision record.
Avoid when¶
- The documented alternatives do not match the actual source of variation or ownership.
Applicability¶
- Languages:
any,python,q-kdbplus,cpp,rust,dart-flutter,typescript - Related entries:
pattern.strategy