Design Pattern

> Code - (Programming|Computer) Language > Design Pattern

1 - About

Design patterns

2 - Format

Each pattern follows this format:

  • Preconditions–The patterns that must be satisfied before this one is valid. The sequence in which patterns are considered is one of the most important skills possessed by experts.
  • Problem–A summary of the problem addressed by the pattern. The problem statement is used by the reader to decide if the pattern is applicable.
  • Constraints–The constraints describe the conflicting (sometimes mutually exclusive) forces acting on any solution to the problem. Typical examples are tradeoffs between execution time and execution space, or development time and program complexity. Clearly stating priorities between constraints makes patterns easy to debate.
  • Solution–A two or three sentence summary of the solution to the problem. The solution is often accompanied by a diagram illustrating the activity required to transform a system from one that doesn't satisfy the pattern to one that does.
Advertising

3 - Documentation / Refrerence

code/design_pattern/design_pattern.txt · Last modified: 2017/11/07 10:02 by gerardnico