Design patterns evolve with the needs of modern applications. Traditional inheritance-based approaches often lead to rigid structures that are difficult to modify and maintain. In this talk, I will present composition as a modern design pattern that enables the creation of more flexible and modular systems. I will demonstrate how composition replaces inheritance in modern TypeScript applications, allowing for greater scalability, testability, and ease of code modification, ultimately leading to better optimized and future-proof projects.
Sign up to receive updates about JS Poland, including workshops, speaker previews, ticket launches, JS Awards, JavaScript Master Podcast, Behind the Code Magazine, CFP details and other exclusive content. We won’t spam you and will only send you emails we genuinely think you’ll find interesting. You can unsubscribe at any time and you can find more information here.