Java Design Patterns Question:
How do I document a design pattern?
Answer:
The following are the major points for describing a pattern.
► Short and meaningful name for the pattern is to be selected.
► Problem description and goals and constraints that may occur in that context is to be identified.
► The participating classes and objects in the design pattern and their structure, responsibilities and their collaborations are to be decided. An abstract description is applied in many different situations are provided by the solution.
► Identify the uses in the real systems and its efficiency.
► Short and meaningful name for the pattern is to be selected.
► Problem description and goals and constraints that may occur in that context is to be identified.
► The participating classes and objects in the design pattern and their structure, responsibilities and their collaborations are to be decided. An abstract description is applied in many different situations are provided by the solution.
► Identify the uses in the real systems and its efficiency.
Previous Question | Next Question |
What are Collaboration Patterns? | What are Anti-Patterns? |