Decorator Design Pattern | Implementation and Disadvantages | Clean Code Series

preview_player
Показать описание
This video covers the Structural Design Pattern - Decorator Design Pattern with its implementation, usage and disadvantages

Video Editing: iMovie

Background Music:
Joakim Karud
Рекомендации по теме
Комментарии
Автор

A wonderful series on design patterns. Really appreciate.

ruchikakapoor
Автор

GREAT explanations. Thanks. Looking forward to Prototype, Proxy and CQRS patterns with example.

GauravSingh-ovmh
Автор

Thanks for the explanation & pointers.
Smartphone is an abstract class but build() is defined & no abstract method is present....how does this work?

aishwaryas
Автор

I tried with addOS() and addBranding() to the beginning of super.build()...
addOS() + super.build() to AndroidPhone, ApplePhone, and WindowsPhone
and addBranding() + super.build() to NokiaPhone
the 4 print messages to the console then would look like :-
Android OS v9.0 + Screen, Battery, Charger
IOS v10.0 + Screen, Battery, Charger
Nokia Phone with Windows OS v3.0 + Screen, Battery, Charger
Nokia Phone with Android OS v9.0 + Screen, Battery, Charger

samarthurs
welcome to shbcf.ru