SOLID is an acronym for five principles of object-oriented design, which were first outlined by Robert C. Martin in the early 2000s. In TypeScript, the Single Responsibility Principle can be applied by dividing a large and complex class into smaller and more focused classes, each with its own well-defined responsibility.
Table of contents
IntroductionSingle Responsibility PrincipleOpen/Closed PrincipleLiskov Substitution PrincipleInterface Segregation PrincipleDependency Inversion PrincipleBeware! Avoid Common MisconceptionsClosing Notes2 Comments
Sort: