From 27ae28142016094bd8b9b11b81c8836438ad0345 Mon Sep 17 00:00:00 2001 From: Sean Bradley Date: Wed, 12 Oct 2022 20:50:02 +0100 Subject: [PATCH 1/3] updates --- adapter/adapter_concept.py | 1 + bridge/bridge_concept.py | 1 + builder/builder_concept.py | 1 + command/command_concept.py | 1 + composite/composite_concept.py | 1 + decorator/decorator_concept.py | 1 + factory/factory_concept.py | 1 + interpreter/interpreter_concept.py | 3 ++- iterator/iterator_concept.py | 1 + observer/observer_concept.py | 1 + prototype/prototype_concept.py | 1 + proxy/proxy_concept.py | 9 +++++++-- singleton/singleton_concept.py | 4 +++- visitor/client.py | 1 + visitor/visitor_concept.py | 1 + 15 files changed, 24 insertions(+), 4 deletions(-) diff --git a/adapter/adapter_concept.py b/adapter/adapter_concept.py index 420b295..ce43edf 100644 --- a/adapter/adapter_concept.py +++ b/adapter/adapter_concept.py @@ -1,4 +1,5 @@ # pylint: disable=too-few-public-methods +# pylint: disable=arguments-differ "Adapter Concept Sample Code" from abc import ABCMeta, abstractmethod diff --git a/bridge/bridge_concept.py b/bridge/bridge_concept.py index 2fea67d..3ba44b8 100644 --- a/bridge/bridge_concept.py +++ b/bridge/bridge_concept.py @@ -1,4 +1,5 @@ # pylint: disable=too-few-public-methods +# pylint: disable=arguments-differ "Bridge Pattern Concept Sample Code" from abc import ABCMeta, abstractmethod diff --git a/builder/builder_concept.py b/builder/builder_concept.py index cf674c8..676f3ee 100644 --- a/builder/builder_concept.py +++ b/builder/builder_concept.py @@ -1,4 +1,5 @@ # pylint: disable=too-few-public-methods +# pylint: disable=arguments-differ "Builder Concept Sample Code" from abc import ABCMeta, abstractmethod diff --git a/command/command_concept.py b/command/command_concept.py index 07e0fee..e16231b 100644 --- a/command/command_concept.py +++ b/command/command_concept.py @@ -1,3 +1,4 @@ +# pylint: disable=arguments-differ "The Command Pattern Concept" from abc import ABCMeta, abstractmethod diff --git a/composite/composite_concept.py b/composite/composite_concept.py index 7d16268..b61280e 100644 --- a/composite/composite_concept.py +++ b/composite/composite_concept.py @@ -1,3 +1,4 @@ +# pylint: disable=arguments-differ "The Composite pattern concept" from abc import ABCMeta, abstractmethod diff --git a/decorator/decorator_concept.py b/decorator/decorator_concept.py index 7bb2708..617add5 100644 --- a/decorator/decorator_concept.py +++ b/decorator/decorator_concept.py @@ -1,4 +1,5 @@ # pylint: disable=too-few-public-methods +# pylint: disable=arguments-differ "Decorator Concept Sample Code" from abc import ABCMeta, abstractmethod diff --git a/factory/factory_concept.py b/factory/factory_concept.py index 7adab51..6dbb529 100644 --- a/factory/factory_concept.py +++ b/factory/factory_concept.py @@ -1,4 +1,5 @@ # pylint: disable=too-few-public-methods +# pylint: disable=arguments-differ "The Factory Concept" from abc import ABCMeta, abstractmethod diff --git a/interpreter/interpreter_concept.py b/interpreter/interpreter_concept.py index 7b2bc8b..8439db5 100644 --- a/interpreter/interpreter_concept.py +++ b/interpreter/interpreter_concept.py @@ -1,4 +1,5 @@ # pylint: disable=too-few-public-methods +# pylint: disable=arguments-differ "The Interpreter Pattern Concept" @@ -7,7 +8,7 @@ class AbstractExpression(): @staticmethod def interpret(): """ - The `interpret` method gets called recursively for each + The `interpret` method gets called recursively for each AbstractExpression """ diff --git a/iterator/iterator_concept.py b/iterator/iterator_concept.py index 47cb1f3..59ff128 100644 --- a/iterator/iterator_concept.py +++ b/iterator/iterator_concept.py @@ -1,4 +1,5 @@ # pylint: disable=too-few-public-methods +# pylint: disable=arguments-differ "The Iterator Pattern Concept" from abc import ABCMeta, abstractmethod diff --git a/observer/observer_concept.py b/observer/observer_concept.py index 5720694..1c29aa3 100644 --- a/observer/observer_concept.py +++ b/observer/observer_concept.py @@ -1,4 +1,5 @@ # pylint: disable=too-few-public-methods +# pylint: disable=arguments-differ "Observer Design Pattern Concept" from abc import ABCMeta, abstractmethod diff --git a/prototype/prototype_concept.py b/prototype/prototype_concept.py index a1c0ef8..3c82b1b 100644 --- a/prototype/prototype_concept.py +++ b/prototype/prototype_concept.py @@ -1,4 +1,5 @@ # pylint: disable=too-few-public-methods +# pylint: disable=arguments-differ "Prototype Concept Sample Code" from abc import ABCMeta, abstractmethod diff --git a/proxy/proxy_concept.py b/proxy/proxy_concept.py index e7ff9ff..bdbe2f9 100644 --- a/proxy/proxy_concept.py +++ b/proxy/proxy_concept.py @@ -1,8 +1,10 @@ # pylint: disable=too-few-public-methods +# pylint: disable=arguments-differ "A Proxy Concept Example" from abc import ABCMeta, abstractmethod + class ISubject(metaclass=ABCMeta): "An interface implemented by both the Proxy and Real Subject" @staticmethod @@ -10,6 +12,7 @@ class ISubject(metaclass=ABCMeta): def request(): "A method to implement" + class RealSubject(ISubject): "The actual real object that the proxy is representing" @@ -20,6 +23,7 @@ def __init__(self): def request(self): return self.enormous_data + class Proxy(ISubject): """ The proxy. In this case the proxy will act as a cache for @@ -36,13 +40,14 @@ def request(self): Using the proxy as a cache, and loading data into it only if it is needed """ - if self.enormous_data == []: + if not self.enormous_data: print("pulling data from RealSubject") self.enormous_data = self.real_subject.request() return self.enormous_data print("pulling data from Proxy cache") return self.enormous_data + # The Client SUBJECT = Proxy() # use SUBJECT @@ -50,4 +55,4 @@ def request(self): # load the enormous amounts of data because now we want to show it. print(SUBJECT.request()) # show the data again, but this time it retrieves it from the local cache -print(SUBJECT.request()) \ No newline at end of file +print(SUBJECT.request()) diff --git a/singleton/singleton_concept.py b/singleton/singleton_concept.py index 0942a30..1d9d869 100644 --- a/singleton/singleton_concept.py +++ b/singleton/singleton_concept.py @@ -2,6 +2,7 @@ "Singleton Concept Sample Code" import copy + class Singleton(): "The Singleton Class" value = [] @@ -21,6 +22,7 @@ def class_method(cls): "Use @classmethod to access class level variables" print(cls.value) + # The Client # All uses of singleton point to the same memory address (id) print(f"id(Singleton)\t= {id(Singleton)}") @@ -32,4 +34,4 @@ def class_method(cls): print(f"id(OBJECT2)\t= {id(OBJECT2)}") OBJECT3 = Singleton() -print(f"id(OBJECT1)\t= {id(OBJECT3)}") \ No newline at end of file +print(f"id(OBJECT1)\t= {id(OBJECT3)}") diff --git a/visitor/client.py b/visitor/client.py index 5fe14d0..293cd4a 100644 --- a/visitor/client.py +++ b/visitor/client.py @@ -1,4 +1,5 @@ # pylint: disable=too-few-public-methods +# pylint: disable=arguments-differ "The Visitor Pattern Use Case Example" from abc import ABCMeta, abstractmethod diff --git a/visitor/visitor_concept.py b/visitor/visitor_concept.py index 2fdf969..f3c33fb 100644 --- a/visitor/visitor_concept.py +++ b/visitor/visitor_concept.py @@ -1,4 +1,5 @@ # pylint: disable=too-few-public-methods +# pylint: disable=arguments-differ "The Visitor Pattern Concept" from abc import ABCMeta, abstractmethod From 304522712fd602a5cd827ad7c2af735203c59f0b Mon Sep 17 00:00:00 2001 From: Sean Bradley Date: Thu, 29 Dec 2022 07:53:10 +0000 Subject: [PATCH 2/3] updates --- flyweight/flyweight.py | 2 +- flyweight/flyweight_concept.py | 6 +++--- flyweight/flyweight_factory.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/flyweight/flyweight.py b/flyweight/flyweight.py index 63667e3..e7e33de 100644 --- a/flyweight/flyweight.py +++ b/flyweight/flyweight.py @@ -4,5 +4,5 @@ class Flyweight(): # pylint: disable=too-few-public-methods "The Flyweight that contains an intrinsic value called code" - def __init__(self, code: int) -> None: + def __init__(self, code: str) -> None: self.code = code diff --git a/flyweight/flyweight_concept.py b/flyweight/flyweight_concept.py index 85508a3..daa478f 100644 --- a/flyweight/flyweight_concept.py +++ b/flyweight/flyweight_concept.py @@ -9,21 +9,21 @@ class IFlyweight(): class Flyweight(IFlyweight): "The Concrete Flyweight" - def __init__(self, code: int) -> None: + def __init__(self, code: str) -> None: self.code = code class FlyweightFactory(): "Creating the FlyweightFactory as a singleton" - _flyweights: dict[int, Flyweight] = {} # Python 3.9 + _flyweights: dict[str, Flyweight] = {} # Python 3.9 # _flyweights = {} # Python 3.8 or earlier def __new__(cls): return cls @classmethod - def get_flyweight(cls, code: int) -> Flyweight: + def get_flyweight(cls, code: str) -> Flyweight: "A static method to get a flyweight based on a code" if not code in cls._flyweights: cls._flyweights[code] = Flyweight(code) diff --git a/flyweight/flyweight_factory.py b/flyweight/flyweight_factory.py index d2c1491..9206d38 100644 --- a/flyweight/flyweight_factory.py +++ b/flyweight/flyweight_factory.py @@ -5,14 +5,14 @@ class FlyweightFactory(): "Creating the FlyweightFactory as a singleton" - _flyweights: dict[int, Flyweight] = {} # Python 3.9 + _flyweights: dict[str, Flyweight] = {} # Python 3.9 # _flyweights = {} # Python 3.8 or earlier def __new__(cls): return cls @classmethod - def get_flyweight(cls, code: int) -> Flyweight: + def get_flyweight(cls, code: str) -> Flyweight: "A static method to get a flyweight based on a code" if not code in cls._flyweights: cls._flyweights[code] = Flyweight(code) From b79e663966f10a78b1f709a2341568faa677b849 Mon Sep 17 00:00:00 2001 From: Sean Bradley Date: Mon, 30 Oct 2023 21:30:17 +0000 Subject: [PATCH 3/3] updates --- README.md | 15 ++++----------- abstract_factory/README.md | 8 ++++---- adapter/README.md | 10 +++++----- bridge/README.md | 10 +++++----- builder/README.md | 10 +++++----- chain_of_responsibility/README.md | 10 +++++----- command/README.md | 10 +++++----- composite/README.md | 10 +++++----- decorator/README.md | 8 ++++---- facade/README.md | 6 +++--- factory/README.md | 10 +++++----- flyweight/README.md | 10 +++++----- interpreter/README.md | 10 +++++----- iterator/README.md | 10 +++++----- mediator/README.md | 10 +++++----- memento/README.md | 10 +++++----- observer/README.md | 10 +++++----- prototype/README.md | 8 ++++---- proxy/README.md | 8 ++++---- singleton/README.md | 8 ++++---- state/README.md | 10 +++++----- strategy/README.md | 10 +++++----- template/README.md | 10 +++++----- visitor/README.md | 10 +++++----- 24 files changed, 112 insertions(+), 119 deletions(-) diff --git a/README.md b/README.md index a918c80..1e77797 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ It is supplementary to my book titled **Design Patterns In Python** (ASIN : B08X ## Course Access -There are 4 possible ways to access the video content in this course, +There are 3 possible ways to access the video content in this course, 1. Udemy : [https://www.udemy.com/course/design-patterns-in-python/?referralCode=7493DBBBF97FF2B0D24D](https://www.udemy.com/course/design-patterns-in-python/?referralCode=7493DBBBF97FF2B0D24D) - Get **Udemy Discount Coupons** at [https://sbcode.net/coupons](https://sbcode.net/coupons) @@ -27,10 +27,7 @@ There are 4 possible ways to access the video content in this course, - 30 Day Money Back Guarantee 2. YouTube Membership : [https://www.youtube.com/channel/UCmUILI2AWt2MSUgPlZwFdOg/join](https://www.youtube.com/channel/UCmUILI2AWt2MSUgPlZwFdOg/join) - Cancel Membership Anytime -3. Skillshare : [https://skl.sh/34SM2Xg](https://skl.sh/34SM2Xg) - - Certificate of Completion - - Cancel Subscription Anytime -4. Book : [https://www.amazon.com/dp/B08XLJ8Z2J](https://www.amazon.com/dp/B08XLJ8Z2J) : ASIN B08XLJ8Z2J +3. Book : [https://amzn.to/466lBN6](https://amzn.to/466lBN6) : ASIN B08XLJ8Z2J - **Book** includes FREE Video Access Codes to view videos from the official documentation website at [https://sbcode.net/python/](https://sbcode.net/python/) All the code examples in the book can be found in these pages. @@ -49,10 +46,6 @@ All the code examples in the book can be found in these pages. --- -**Note** - -> If you just want to read my design pattern articles, and you don't need to access the videos, then you can read them via [Medium Membership](https://sean-bradley.medium.com/membership) - ## Overview A Design Pattern is a description or template that can be repeatedly applied to a commonly recurring problem in software design. @@ -92,8 +85,8 @@ So, in this book, you will learn about these 23 Design Patterns, ## Pattern Types -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Class Scope and Object Scope Patterns -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ diff --git a/abstract_factory/README.md b/abstract_factory/README.md index 69d18d8..fe3f1c5 100644 --- a/abstract_factory/README.md +++ b/abstract_factory/README.md @@ -16,11 +16,11 @@ Cover | Links ## Overview -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Terminology -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Abstract Factory UML Diagram @@ -36,7 +36,7 @@ python ./abstract_factory/abstract_factory_concept.py ## Abstract Factory Example Use Case -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Abstract Factory Example UML Diagram @@ -117,4 +117,4 @@ Python Errors and Exceptions : [https://docs.python.org/3/tutorial/errors.html]( ## Summary -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ \ No newline at end of file +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ \ No newline at end of file diff --git a/adapter/README.md b/adapter/README.md index d977bd2..36a5311 100644 --- a/adapter/README.md +++ b/adapter/README.md @@ -17,11 +17,11 @@ Cover | Links ## Overview -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Terminology -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Adapter UML Diagram @@ -29,7 +29,7 @@ _... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lecture ## Source Code -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Output @@ -43,7 +43,7 @@ method B ## Example Use Case -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Example UML Diagram @@ -143,4 +143,4 @@ When executing [/adapter/cube_a.py](/adapter/cube_a.py) you will notice that the ## Summary -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ \ No newline at end of file +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ \ No newline at end of file diff --git a/bridge/README.md b/bridge/README.md index e47e5ab..21be331 100644 --- a/bridge/README.md +++ b/bridge/README.md @@ -17,11 +17,11 @@ Cover | Links ## Overview -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Terminology -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Bridge UML Diagram @@ -29,7 +29,7 @@ _... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lecture ## Source Code -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Output @@ -43,7 +43,7 @@ c ## Example Use Case -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Example UML Diagram @@ -121,4 +121,4 @@ PS> python ## Summary -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ \ No newline at end of file +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ \ No newline at end of file diff --git a/builder/README.md b/builder/README.md index fb2f7bf..1016ae9 100644 --- a/builder/README.md +++ b/builder/README.md @@ -16,11 +16,11 @@ Cover | Links ## Overview -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Terminology -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Builder UML Diagram @@ -28,7 +28,7 @@ _... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lecture ## Source Code -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Output @@ -39,7 +39,7 @@ python ./builder/builder_concept.py ## Example Use Case -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Example UML Diagram @@ -113,4 +113,4 @@ This line, creates a list at runtime including the strings 'SmallChair', 'Medium ## Summary -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ \ No newline at end of file +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ \ No newline at end of file diff --git a/chain_of_responsibility/README.md b/chain_of_responsibility/README.md index 3fa4a4b..23537c5 100644 --- a/chain_of_responsibility/README.md +++ b/chain_of_responsibility/README.md @@ -17,11 +17,11 @@ Cover | Links ## Overview -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Terminology -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Chain of Responsibility UML Diagram @@ -29,7 +29,7 @@ _... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lecture ## Source Code -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Output @@ -47,7 +47,7 @@ Finished result = -1.5 ## Example Use Case -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Example UML Diagram @@ -111,4 +111,4 @@ See PEP-3111 : [https://www.python.org/dev/peps/pep-3111/](https://www.python.or ## Summary -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ \ No newline at end of file +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ \ No newline at end of file diff --git a/command/README.md b/command/README.md index 5920c95..9835591 100644 --- a/command/README.md +++ b/command/README.md @@ -16,11 +16,11 @@ Cover | Links ## Overview -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Terminology -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Command Pattern UML Diagram @@ -28,7 +28,7 @@ _... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lecture ## Source Code -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Output @@ -42,7 +42,7 @@ Executing Command 2 ## Example Use Case -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Example UML Diagram @@ -78,4 +78,4 @@ It is just a useful construct that you will see developers use as a recommendati ## Summary -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ \ No newline at end of file +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ \ No newline at end of file diff --git a/composite/README.md b/composite/README.md index 37d5e84..7a9f7b0 100644 --- a/composite/README.md +++ b/composite/README.md @@ -16,11 +16,11 @@ Cover | Links ## Overview -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Terminology -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Composite UML Diagram @@ -28,7 +28,7 @@ _... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lecture ## Source Code -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Output @@ -48,7 +48,7 @@ COMPOSITE_2 id:2050574298128 ## Composite Example Use Case -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Composite Example UML Diagram @@ -124,4 +124,4 @@ Visit [https://docs.python.org/3/reference/expressions.html#conditional-expressi ## Summary -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ \ No newline at end of file +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ \ No newline at end of file diff --git a/decorator/README.md b/decorator/README.md index 6d74631..31c7f86 100644 --- a/decorator/README.md +++ b/decorator/README.md @@ -17,11 +17,11 @@ Cover | Links ## Overview -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Terminology -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Builder UML Diagram @@ -37,7 +37,7 @@ Decorator Method(Component Method) ## Example Use Case -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Example UML Diagram @@ -133,4 +133,4 @@ The `__str__` dunder was also overridden in the [/prototype/prototype_concept.py ## Summary -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ \ No newline at end of file +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ \ No newline at end of file diff --git a/facade/README.md b/facade/README.md index dfa62ef..242a2d6 100644 --- a/facade/README.md +++ b/facade/README.md @@ -17,7 +17,7 @@ Cover | Links ## Overview -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Facade UML Diagram @@ -37,7 +37,7 @@ B ## Example Use Case -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Example UML Diagram @@ -170,4 +170,4 @@ Found 2 errors in 2 files (checked 1 source file) ## Summary -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ \ No newline at end of file +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ \ No newline at end of file diff --git a/factory/README.md b/factory/README.md index d1dd8fc..4a6f2b9 100644 --- a/factory/README.md +++ b/factory/README.md @@ -16,11 +16,11 @@ Cover | Links ## Overview -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Terminology -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Factory UML Diagram @@ -28,7 +28,7 @@ _... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lecture ## Source Code -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Output @@ -39,7 +39,7 @@ ConcreteProductB ## Example Use Case -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Factory Example UML Diagram @@ -93,4 +93,4 @@ See PEP 3119 : [https://www.python.org/dev/peps/pep-3119/](https://www.python.or ## Summary -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ \ No newline at end of file +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ \ No newline at end of file diff --git a/flyweight/README.md b/flyweight/README.md index 170c137..e0fbbc2 100644 --- a/flyweight/README.md +++ b/flyweight/README.md @@ -16,11 +16,11 @@ Cover | Links ## Overview -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Terminology -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Flyweight UML Diagram @@ -28,7 +28,7 @@ _... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lecture ## Source Code -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Output @@ -41,7 +41,7 @@ FlyweightFactory has 5 flyweights ## Example Use Case -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Example UML Diagram @@ -86,4 +86,4 @@ eg, ## Summary -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ \ No newline at end of file +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ \ No newline at end of file diff --git a/interpreter/README.md b/interpreter/README.md index bac547f..c49e7d8 100644 --- a/interpreter/README.md +++ b/interpreter/README.md @@ -17,11 +17,11 @@ Cover | Links ## Overview -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Terminology -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Interpreter UML Diagram @@ -29,7 +29,7 @@ _... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lecture ## Source Code -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Output @@ -43,7 +43,7 @@ python ./interpreter/interpreter_concept.py ## Example Use Case -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ![Abstract Syntax Tree Example](/img/interpreter_ast_roman_numeral.svg) @@ -171,4 +171,4 @@ Outputs ## Summary -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ \ No newline at end of file +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ \ No newline at end of file diff --git a/iterator/README.md b/iterator/README.md index be63322..c995307 100644 --- a/iterator/README.md +++ b/iterator/README.md @@ -16,11 +16,11 @@ Cover | Links ## Overview -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Terminology -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Iterator UML Diagram @@ -28,7 +28,7 @@ _... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lecture ## Source Code -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Output @@ -42,7 +42,7 @@ This method has been invoked ## Example Use Case -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Example UML Diagram @@ -118,4 +118,4 @@ Also note that the list being printed at the end is automatically filled from th ## Summary -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ \ No newline at end of file +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ \ No newline at end of file diff --git a/mediator/README.md b/mediator/README.md index 3f7b3a0..c62667a 100644 --- a/mediator/README.md +++ b/mediator/README.md @@ -15,11 +15,11 @@ Cover | Links ## Overview -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Terminology -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Mediator UML Diagram @@ -27,7 +27,7 @@ _... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lecture ## Source Code -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Output @@ -39,7 +39,7 @@ COLLEAGUE2 <--> Here is the Colleague1 specific data you asked for ## Example Use Case -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Example UML Diagram @@ -62,4 +62,4 @@ Component1: <<< In <<< : data C ## Summary -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ \ No newline at end of file +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ \ No newline at end of file diff --git a/memento/README.md b/memento/README.md index 922eba6..98e5fe7 100644 --- a/memento/README.md +++ b/memento/README.md @@ -16,11 +16,11 @@ Cover | Links ## Overview -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Terminology -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Memento UML Diagram @@ -28,7 +28,7 @@ _... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lecture ## Source Code -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ### Output @@ -53,7 +53,7 @@ State #3 ## Example Use Case -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Example UML Diagram @@ -151,4 +151,4 @@ print(example.value) # now raises an AttributeError ## Summary -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ \ No newline at end of file +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ \ No newline at end of file diff --git a/observer/README.md b/observer/README.md index 2744223..1965ab3 100644 --- a/observer/README.md +++ b/observer/README.md @@ -16,11 +16,11 @@ Cover | Links ## Overview -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Terminology -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Observer UML Diagram @@ -28,7 +28,7 @@ _... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lecture ## Source Code -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Output @@ -41,7 +41,7 @@ Observer id:2084220160272 received ('Second Notification', {'A': 1, 'B': 2, 'C': ## Example Use Case -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Example UML Diagram @@ -88,4 +88,4 @@ Note, if instantiating an empty **Set** then use `my_object = Set()` rather than ## Summary -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ \ No newline at end of file +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ \ No newline at end of file diff --git a/prototype/README.md b/prototype/README.md index 4b49386..0b69ff8 100644 --- a/prototype/README.md +++ b/prototype/README.md @@ -16,11 +16,11 @@ Cover | Links ## Overview -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Terminology -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Prototype UML Diagram @@ -28,8 +28,8 @@ _... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lecture ## Source Code -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Summary -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ \ No newline at end of file +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ \ No newline at end of file diff --git a/proxy/README.md b/proxy/README.md index aa62785..64456cf 100644 --- a/proxy/README.md +++ b/proxy/README.md @@ -17,11 +17,11 @@ Cover | Links ## Overview -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Terminology -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Proxy UML Diagram @@ -40,7 +40,7 @@ pulling data from Proxy cache ## Example Use Case -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Example UML Diagram @@ -101,4 +101,4 @@ See the [Lion](/proxy/lion.py), [Serpent](/proxy/serpent.py) and [Leopard](/prox ## Summary -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ \ No newline at end of file +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ \ No newline at end of file diff --git a/singleton/README.md b/singleton/README.md index c59e0b8..c2cebd3 100644 --- a/singleton/README.md +++ b/singleton/README.md @@ -16,7 +16,7 @@ Cover | Links | ## Overview -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Singleton UML Diagram @@ -32,11 +32,11 @@ id(OBJECT2) = 2164775087968 id(OBJECT3) = 2164775087968 ``` -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Example Use Case -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Example UML Diagram @@ -133,4 +133,4 @@ PS> python ## Summary -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ \ No newline at end of file +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ \ No newline at end of file diff --git a/state/README.md b/state/README.md index 90dd505..4f1fce5 100644 --- a/state/README.md +++ b/state/README.md @@ -16,11 +16,11 @@ Cover | Links ## Overview -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Terminology -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## State UML Diagram @@ -28,7 +28,7 @@ _... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lecture ## Source Code -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ### Output @@ -43,7 +43,7 @@ I am ConcreteStateC ## State Example Use Case -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## State Example Use Case UML Diagram @@ -92,4 +92,4 @@ EXAMPLE() # function now gets called by default ## Summary -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ \ No newline at end of file +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ \ No newline at end of file diff --git a/strategy/README.md b/strategy/README.md index 41d0205..8f1a389 100644 --- a/strategy/README.md +++ b/strategy/README.md @@ -15,11 +15,11 @@ Cover | Links ## Overview -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Terminology -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Strategy UML Diagram @@ -27,7 +27,7 @@ _... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lecture ## Source Code -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Output @@ -40,7 +40,7 @@ I am ConcreteStrategyC ## Strategy Example Use Case -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Strategy Example Use Case UML Diagram @@ -57,4 +57,4 @@ I am Crawling. New position = [3.5, 0] ## Summary -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ \ No newline at end of file +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ \ No newline at end of file diff --git a/template/README.md b/template/README.md index dc1736c..fe00545 100644 --- a/template/README.md +++ b/template/README.md @@ -15,11 +15,11 @@ Cover | Links ## Overview -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Terminology -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Template Method UML Diagram @@ -27,7 +27,7 @@ _... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lecture ## Source Code -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Output @@ -42,7 +42,7 @@ Class_B : Step Three. (overridden) ## Template Method Example Use Case -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Template Method Use Case UML Diagram @@ -76,4 +76,4 @@ footer : -- Page 1 -- ## Summary -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ \ No newline at end of file +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ \ No newline at end of file diff --git a/visitor/README.md b/visitor/README.md index 0c7cf82..1f969de 100644 --- a/visitor/README.md +++ b/visitor/README.md @@ -17,11 +17,11 @@ Cover | Links ## Overview -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Terminology -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Visitor UML Diagram @@ -29,7 +29,7 @@ _... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lecture ## Source Code -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Output @@ -44,7 +44,7 @@ A ## Visitor Example Use Case -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ ## Visitor Example UML Diagram @@ -141,4 +141,4 @@ jklmn 1011 ## Summary -_... Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), pause [Video Lectures](#videos) or subscribe to [Medium Membership](https://sean-bradley.medium.com/membership) to read textual content._ \ No newline at end of file +_... Refer to [Book](https://amzn.to/466lBN6) or [Design Patterns In Python website](https://sbcode.net/python/) to read textual content._ \ No newline at end of file