Abstract
The primary theme in software engineering is that of reuse over reiteration. You’ve seen this several times in this book already with the concepts of abstraction, modularity, inheritance, data structures, and algorithms. This same concept can be applied to software design. Design patterns are a set of best practices to use when encountering a specific problem in object-oriented software design. Similar to algorithms, these are proven solutions that should be reused in similar scenarios rather than being rewritten or rediscovered. Unlike algorithms, design patterns are typically not measured in terms of time complexity because their focus pertains more to writing code that can be easily understood, maintained, and decoupled from other parts of the code base.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2019 Jason Lee Hodges
About this chapter
Cite this chapter
Hodges, J.L. (2019). Design Patterns. In: Software Engineering from Scratch. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-5206-2_14
Download citation
DOI: https://doi.org/10.1007/978-1-4842-5206-2_14
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-5205-5
Online ISBN: 978-1-4842-5206-2
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books