Idioms and Patterns: Policy and Traits
In this lesson, we will study about policy and traits in idioms and patterns.
We'll cover the following...
Policy and Traits
Policy
A Policy is a generic function or class with adaptable behavior.
Policy parameters have typically default values.
This adaptable behavior is expressed in several type parameters, the so-called policy parameters. Due to different policy parameters, the concrete generic function or class behaves differently.
Typical ...