Skip to content

Files

Latest commit

b79e663 · Oct 30, 2023

History

History

strategy

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Oct 30, 2023
Mar 26, 2021
Feb 27, 2021

README.md

Strategy Design Pattern

Videos

Section Video Links
Strategy Overview Strategy Overview   Strategy Overview   Strategy Overview
Strategy Use Case Strategy Use Case   Strategy Use Case   Strategy Use Case

Book

Cover Links
Design Patterns In Python (ASIN : B08XLJ8Z2J)   https://www.amazon.com/dp/B08XLJ8Z2J
  https://www.amazon.co.uk/dp/B08XLJ8Z2J
  https://www.amazon.in/dp/B08Z282SBC
  https://www.amazon.de/dp/B08XLJ8Z2J
  https://www.amazon.fr/dp/B08XLJ8Z2J
  https://www.amazon.es/dp/B08XLJ8Z2J
  https://www.amazon.it/dp/B08XLJ8Z2J
  https://www.amazon.co.jp/dp/B08XLJ8Z2J
  https://www.amazon.ca/dp/B08XLJ8Z2J
  https://www.amazon.com.au/dp/B08Z282SBC

Overview

... Refer to Book or Design Patterns In Python website to read textual content.

Terminology

... Refer to Book or Design Patterns In Python website to read textual content.

Strategy UML Diagram

Strategy UML Diagram

Source Code

... Refer to Book or Design Patterns In Python website to read textual content.

Output

python ./strategy/strategy_concept.py
I am ConcreteStrategyA
I am ConcreteStrategyB
I am ConcreteStrategyC

Strategy Example Use Case

... Refer to Book or Design Patterns In Python website to read textual content.

Strategy Example Use Case UML Diagram

Strategy Example Use Case UML Diagram

Output

python ./strategy/client.py
I am Walking. New position = [1, 0]
I am Running. New position = [3, 0]
I am Crawling. New position = [3.5, 0]

Summary

... Refer to Book or Design Patterns In Python website to read textual content.