Design Patterns, Strategy has unclear identifier Context
and run
mentioned.
#341
Labels
A-pattern
Area: Content about Patterns
C-clarification
Category: Content that clarifies existing content
good first issue
Good for newcomers
A
Context
invariant and arun
associated function are mentioned in the Strategy Pattern without any further explanation. I have the assumption that the example has been refactored but the description has been left unchanged, however, the file history does not show any major changes to the file.A solution I propose and could complete is, cutting out any obscure mentioned identifiers in the description leaving the example as is.
Another solution is to give further context/sources/references to the obscure identifiers. This will probably include additions to the example.
I personally found the example very instructive and clear and would advocate to it leave unchanged.
The text was updated successfully, but these errors were encountered: