Strategy

Define a family of algorithms, encapsulate each one, and make them interchangeable. Strategy lets the algorithm vary independently from clients that use it.

Examples in V
No examples yet.
You can see if there are examples in other languages or
be the first to post an example in V!