-
Book Overview & Buying
-
Table Of Contents
TypeScript 5 Design Patterns and Best Practices - Second Edition
By :
SOLID is an acronym for the first five object-oriented programming (OOP) design principles:
These principles were coined by Robert C. Martin in his 2000 paper Design Principles and Design Patterns, which is available at https://staff.cs.utu.fi/~jounsmed/doos_06/material/DesignPrinciplesAndPatterns.pdf. These principles exhibit a strong correlation with OOP languages and how to structure your programs with maintenance and extensibility in mind. Adopting these practices can contribute to producing code that’s easier to refactor and reason about.
To start, we’ll take a deep dive into these principles while looking at some representative examples in TypeScript. We’ll make some conclusions after.
The Single Responsibility Principle...