Patterns vs Component Reuse
publish date: 2026/06/12 10:18:12.812423 UTC
Design patterns support 'concept-level reuse' rather than 'component reuse'. What is the key advantage of concept-level reuse through patterns compared to reusing executable components?
Correct Answer
Explanation
When reusing executable components, you are constrained by the design decisions already made - specific algorithms, object types, and interfaces in the component. If these conflict with your requirements, reusing the component is either impossible or introduces inefficiencies. Using patterns means you reuse the ideas (the abstract solution) but adapt the implementation to suit your system. You use the knowledge of the original designer while keeping full freedom of implementation.
Reference
Software Engineering, Ian Sommerville, 10th edition
