
TypeScript 4 Design Patterns and Best Practices
By :

The advanced language primitives discussed throughout this chapter are really helpful language features when it comes to defining the exact types in our abstractions.
If you work with TypeScript and adhere to OOP principles, you will find that some abstractions lead to low-coupled code, while others such as inheritance achieve the opposite as they can increase code coupling if modeled incorrectly.
TypeScript is a truly multi-paradigm language that can be used equally successfully in the browser and the server environment. However, it's significant to understand that each environment presents different challenges, so they call for alternative approaches.
By learning about design patterns, you can understand how those proven and reliable concepts designed by software experts can help manage complexity at scale whether we use OOP or any other programming style.
In the next chapter, you will gain a more in-depth understanding of design patterns as you start learning...