Decorator Pattern (TypeScript Design Patterns)
Автор: Simply Explained
Загружено: 2017-04-06
Просмотров: 48701
Описание:
With the Decorator pattern you can add behaviour to classes dynamically.
In this example I'll show you how to program a system to sell Tesla cars with many options (such as Auto Pilot). Each option affects the price of the car differently and a customer can choose many options or none at all. This is exactly the kind of problem that you can solve efficiently with a Decorator pattern.
Interested? Continue watching this series and learn more design patterns:
https://goo.gl/e1Ab4w
Are you new to TypeScript? Check out my video series to get started with TypeScript:
https://goo.gl/mOEotf
The code used in this video is available on GitHub:
https://github.com/SavjeeTutorials/ty...
► About me
Follow me on Twitter:
/ savjee
Check out my blog:
https://www.savjee.be
Subscribe to newsletter:
https://goo.gl/nueDfz
Like my Facebook page:
/ savjee
Повторяем попытку...

Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: