Strategy Design Pattern in detail | Interview Question

preview_player
Показать описание

Strategy is a behavioral design pattern that lets you define a family of algorithms, put each of them into a separate class, and make their objects interchangeable.

🎟 Join this channel to get access to perks:

RECOMMENDED COURSES

BE MY FRIEND:

MY FAVOURITE GEAR:

RECOMMENDED BOOKS:

🎻 MUSIC:

#strategy #designpatterns #softwaredesign #java #DailyCodeBuffer
Рекомендации по теме
Комментарии
Автор

I think, this video makes it more complex than it is. Strategy is all about encapsulating changes in such a way that there will be least modifications required to add new behaviour or to update current behaviour

thecoderslounge
Автор

This example is confused with factory design pattern. Don't just give bookish example

habib
welcome to shbcf.ru