From 16ce9fda5c8b69c0a10a55fed043deb53bacc10b Mon Sep 17 00:00:00 2001 From: Sean Bradley Date: Mon, 17 Jan 2022 09:36:21 +0000 Subject: [PATCH 01/13] updates --- coding-conventions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coding-conventions.md b/coding-conventions.md index 410dee4..5c8de04 100644 --- a/coding-conventions.md +++ b/coding-conventions.md @@ -21,7 +21,7 @@ You can also enter Python code directly into the Python Interactive Console by t ``` python PS> python -Python 3.9.1 (tags/v3.9.1:1e5d33e, Dec 7 2020, 17:08:21) [MSC ... +Python 3.10.1 (tags/v3.10.1:2cd268a, Dec 6 2021, 19:10:37) [MSC ... Type "help", "copyright", "credits" or "license" for more information. >>> ``` From a6afc3d54451b211e3faa2a4c2871a71fbbba9b0 Mon Sep 17 00:00:00 2001 From: seanwasere youtube Date: Thu, 3 Feb 2022 16:25:12 +0000 Subject: [PATCH 02/13] Update LICENSE --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 75037ef..dc50b29 100644 --- a/LICENSE +++ b/LICENSE @@ -6,5 +6,5 @@ Book : https://www.amazon.com/dp/B08XLJ8Z2J : ASIN B08XLJ8Z2J EBook : https://www.amazon.com/dp/B08Z282SBC : ASIN B08Z282SBC Videos : https://www.youtube.com/playlist?list=PLKWUX7aMnlEJzRvCXnwFEdk_WJDNjMDOo -Copyright (c) 2019-2021, Sean Bradley +Copyright (c) 2019-2022, Sean Bradley All rights reserved. From 48cd28f7f35858216b5d5cb829a91dcefa398c67 Mon Sep 17 00:00:00 2001 From: Sean Bradley Date: Mon, 18 Apr 2022 21:25:13 +0100 Subject: [PATCH 03/13] updates --- 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 +++++----- 23 files changed, 108 insertions(+), 108 deletions(-) diff --git a/abstract_factory/README.md b/abstract_factory/README.md index 1dec563..19f2dd5 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Terminology -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ \ No newline at end of file +_... 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 diff --git a/adapter/README.md b/adapter/README.md index 2a8800c..d977bd2 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Terminology -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Adapter UML Diagram @@ -29,7 +29,7 @@ _...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or ## Source Code -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Output @@ -43,7 +43,7 @@ method B ## Example Use Case -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ \ No newline at end of file +_... 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 diff --git a/bridge/README.md b/bridge/README.md index fef2a84..e47e5ab 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Terminology -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Bridge UML Diagram @@ -29,7 +29,7 @@ _...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or ## Source Code -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Output @@ -43,7 +43,7 @@ c ## Example Use Case -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Example UML Diagram @@ -121,4 +121,4 @@ PS> python ## Summary -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ \ No newline at end of file +_... 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 diff --git a/builder/README.md b/builder/README.md index 719cdbe..fb2f7bf 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Terminology -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Builder UML Diagram @@ -28,7 +28,7 @@ _...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or ## Source Code -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Output @@ -39,7 +39,7 @@ python ./builder/builder_concept.py ## Example Use Case -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ \ No newline at end of file +_... 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 diff --git a/chain_of_responsibility/README.md b/chain_of_responsibility/README.md index 2e90d00..3fa4a4b 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Terminology -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Chain of Responsibility UML Diagram @@ -29,7 +29,7 @@ _...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or ## Source Code -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Output @@ -47,7 +47,7 @@ Finished result = -1.5 ## Example Use Case -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ \ No newline at end of file +_... 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 diff --git a/command/README.md b/command/README.md index 6bce730..5920c95 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Terminology -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Command Pattern UML Diagram @@ -28,7 +28,7 @@ _...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or ## Source Code -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Output @@ -42,7 +42,7 @@ Executing Command 2 ## Example Use Case -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ \ No newline at end of file +_... 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 diff --git a/composite/README.md b/composite/README.md index d5eb2f2..37d5e84 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Terminology -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Composite UML Diagram @@ -28,7 +28,7 @@ _...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or ## Source Code -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Output @@ -48,7 +48,7 @@ COMPOSITE_2 id:2050574298128 ## Composite Example Use Case -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ \ No newline at end of file +_... 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 diff --git a/decorator/README.md b/decorator/README.md index fa6c65a..6d74631 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Terminology -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Builder UML Diagram @@ -37,7 +37,7 @@ Decorator Method(Component Method) ## Example Use Case -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ \ No newline at end of file +_... 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 diff --git a/facade/README.md b/facade/README.md index 9eaf5bb..dfa62ef 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Facade UML Diagram @@ -37,7 +37,7 @@ B ## Example Use Case -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ \ No newline at end of file +_... 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 diff --git a/factory/README.md b/factory/README.md index 32b2924..d1dd8fc 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Terminology -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Factory UML Diagram @@ -28,7 +28,7 @@ _...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or ## Source Code -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Output @@ -39,7 +39,7 @@ ConcreteProductB ## Example Use Case -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ \ No newline at end of file +_... 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 diff --git a/flyweight/README.md b/flyweight/README.md index 1791752..170c137 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Terminology -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Flyweight UML Diagram @@ -28,7 +28,7 @@ _...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or ## Source Code -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Output @@ -41,7 +41,7 @@ FlyweightFactory has 5 flyweights ## Example Use Case -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Example UML Diagram @@ -86,4 +86,4 @@ eg, ## Summary -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ \ No newline at end of file +_... 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 diff --git a/interpreter/README.md b/interpreter/README.md index 15d5d5f..bac547f 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Terminology -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Interpreter UML Diagram @@ -29,7 +29,7 @@ _...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or ## Source Code -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Output @@ -43,7 +43,7 @@ python ./interpreter/interpreter_concept.py ## Example Use Case -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ![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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ \ No newline at end of file +_... 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 diff --git a/iterator/README.md b/iterator/README.md index 3985ce4..be63322 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Terminology -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Iterator UML Diagram @@ -28,7 +28,7 @@ _...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or ## Source Code -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Output @@ -42,7 +42,7 @@ This method has been invoked ## Example Use Case -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ \ No newline at end of file +_... 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 diff --git a/mediator/README.md b/mediator/README.md index 1c429e9..3f7b3a0 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Terminology -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Mediator UML Diagram @@ -27,7 +27,7 @@ _...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or ## Source Code -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Example UML Diagram @@ -62,4 +62,4 @@ Component1: <<< In <<< : data C ## Summary -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ \ No newline at end of file +_... 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 diff --git a/memento/README.md b/memento/README.md index c8b1eee..922eba6 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Terminology -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Memento UML Diagram @@ -28,7 +28,7 @@ _...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or ## Source Code -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ### Output @@ -53,7 +53,7 @@ State #3 ## Example Use Case -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Example UML Diagram @@ -151,4 +151,4 @@ print(example.value) # now raises an AttributeError ## Summary -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ \ No newline at end of file +_... 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 diff --git a/observer/README.md b/observer/README.md index 572da33..2744223 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Terminology -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Observer UML Diagram @@ -28,7 +28,7 @@ _...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or ## Source Code -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ \ No newline at end of file +_... 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 diff --git a/prototype/README.md b/prototype/README.md index 494327d..4b49386 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Terminology -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Prototype UML Diagram @@ -28,8 +28,8 @@ _...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or ## Source Code -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Summary -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ \ No newline at end of file +_... 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 diff --git a/proxy/README.md b/proxy/README.md index 84f6398..aa62785 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Terminology -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Proxy UML Diagram @@ -40,7 +40,7 @@ pulling data from Proxy cache ## Example Use Case -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ \ No newline at end of file +_... 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 diff --git a/singleton/README.md b/singleton/README.md index d2c2bb4..c59e0b8 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Singleton UML Diagram @@ -32,11 +32,11 @@ id(OBJECT2) = 2164775087968 id(OBJECT3) = 2164775087968 ``` -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Example Use Case -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Example UML Diagram @@ -133,4 +133,4 @@ PS> python ## Summary -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ \ No newline at end of file +_... 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 diff --git a/state/README.md b/state/README.md index fe92635..90dd505 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Terminology -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## State UML Diagram @@ -28,7 +28,7 @@ _...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or ## Source Code -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ### Output @@ -43,7 +43,7 @@ I am ConcreteStateC ## State Example Use Case -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ \ No newline at end of file +_... 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 diff --git a/strategy/README.md b/strategy/README.md index 2cfec06..41d0205 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Terminology -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Strategy UML Diagram @@ -27,7 +27,7 @@ _...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or ## Source Code -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Output @@ -40,7 +40,7 @@ I am ConcreteStrategyC ## Strategy Example Use Case -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ \ No newline at end of file +_... 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 diff --git a/template/README.md b/template/README.md index 9c5072f..dc1736c 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Terminology -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Template Method UML Diagram @@ -27,7 +27,7 @@ _...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or ## Source Code -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Output @@ -42,7 +42,7 @@ Class_B : Step Three. (overridden) ## Template Method Example Use Case -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Template Method Use Case UML Diagram @@ -76,4 +76,4 @@ footer : -- Page 1 -- ## Summary -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ \ No newline at end of file +_... 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 diff --git a/visitor/README.md b/visitor/README.md index 6f6ed37..0c7cf82 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), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Terminology -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Visitor UML Diagram @@ -29,7 +29,7 @@ _...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or ## Source Code -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Output @@ -44,7 +44,7 @@ A ## Visitor Example Use Case -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ +_... 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._ ## Visitor Example UML Diagram @@ -141,4 +141,4 @@ jklmn 1011 ## Summary -_...Refer to [Book](https://www.amazon.com/dp/B08Z282SBC), [Videos](#videos) or [Medium Membership](https://sean-bradley.medium.com/membership) for extra content._ \ No newline at end of file +_... 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 From d205f2296ef1730a9f1aa9413358d51b4c637fe0 Mon Sep 17 00:00:00 2001 From: Sean Bradley Date: Mon, 18 Apr 2022 21:32:45 +0100 Subject: [PATCH 04/13] updates --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 207dde5..221d51f 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ 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) + 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) From 1423ad5065d7b528e1b67e83dbfc6003930e7297 Mon Sep 17 00:00:00 2001 From: Sean Bradley Date: Mon, 18 Apr 2022 21:38:58 +0100 Subject: [PATCH 05/13] updates --- README.md | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 221d51f..a918c80 100644 --- a/README.md +++ b/README.md @@ -35,11 +35,23 @@ There are 4 possible ways to access the video content in this course, 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) +--- +**TIP** +> [Design Patterns In python](https://www.amazon.com/dp/B08XLJ8Z2J) **(Paperback/Kindle)** includes Video Access Codes to view videos for FREE from the official documentation website at [https://sbcode.net/python/](https://sbcode.net/python/) + +--- + +**TIP** + +> Get **Udemy Discount Coupons** at [https://sbcode.net/coupons](https://sbcode.net/coupons) + +--- + +**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 @@ -47,7 +59,7 @@ A Design Pattern is a description or template that can be repeatedly applied to A familiarity of Design Patterns will be very useful when planning, discussing, managing and documenting your applications from now on and into the future. -Also, throughout the book, as each design pattern is discussed and demonstrated using example code, I also introduce new python coding concepts with each new design pattern. So that as you progress through the book and try out the examples, you will also get experience and familiarity with some of the finer details of programming with python. +Also, throughout the book, as each design pattern is discussed and demonstrated using example code, I also introduce new python coding concepts with each new design pattern. So that as you progress through the book and try out the examples, you will also get experience and familiarity with some finer details of programming with python. So, in this book, you will learn about these 23 Design Patterns, @@ -80,8 +92,8 @@ So, in this book, you will learn about these 23 Design Patterns, ## Pattern Types -_...Refer to Book or Videos for extra content._ +_... 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._ ## Class Scope and Object Scope Patterns -_...Refer to Book or Videos for extra content._ +_... 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._ From b8c94e1fa62445bde4d5a453ae111fbd17dcb962 Mon Sep 17 00:00:00 2001 From: Sean Bradley Date: Wed, 25 May 2022 09:06:32 +0100 Subject: [PATCH 06/13] updates --- LICENSE | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/LICENSE b/LICENSE index dc50b29..e676d93 100644 --- a/LICENSE +++ b/LICENSE @@ -1,10 +1,12 @@ -All code, images, text, downloads and videos from +All code, images, text, videos and downloads from Repository : https://github.com/Sean-Bradley/Design-Patterns-In-Python Website : https://sbcode.net/python Book : https://www.amazon.com/dp/B08XLJ8Z2J : ASIN B08XLJ8Z2J EBook : https://www.amazon.com/dp/B08Z282SBC : ASIN B08Z282SBC -Videos : https://www.youtube.com/playlist?list=PLKWUX7aMnlEJzRvCXnwFEdk_WJDNjMDOo +YouTube : https://www.youtube.com/playlist?list=PLKWUX7aMnlEJzRvCXnwFEdk_WJDNjMDOo +Udemy : https://www.udemy.com/course/design-patterns-in-python/?referralCode=7493DBBBF97FF2B0D24D +Skillshare : https://skl.sh/34SM2Xg Copyright (c) 2019-2022, Sean Bradley -All rights reserved. +All rights reserved. \ No newline at end of file From ad475792f1e7c61bb26b0648e6310aa022b334d0 Mon Sep 17 00:00:00 2001 From: Sean Bradley Date: Wed, 25 May 2022 09:12:29 +0100 Subject: [PATCH 07/13] updates --- img/udemy_btn_sm.gif | Bin 1082 -> 3254 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/img/udemy_btn_sm.gif b/img/udemy_btn_sm.gif index 03abf370f5113acd3f485b5096895ee160edae06..bab7b914ee901b7f268b990859e5f1dfb3b2af93 100644 GIT binary patch literal 3254 zcmaJ?dpy&7AD_)-S~45C4L>tQ%q|!f+2-z~7#-?S8QaMUn{Bc>${0hsuv99iTuVh! zol^svaGCZ)oSa)!Xk4tCOIW_ z|NdlcIKt4x=>Gk7OEYZSy?d>#ZG793jEv0mbcqf^*WZ7AN=mA)pMRook1ZDWV`v!G z4!?EVc0NCWLiNx$Fk0)nE+;2fZ>0fXZsFzSbKpR>p%H3d(!R@13XJ7yw{?`nM4<{; z)rGtkPq2?*L?Lxo+5#k`u09H7YGi^U5FL=l@ZgY5BqtYFiy$9gKOCNbKx)br zKVQDEurNJ6JvKHrJUl!xFKQ~u8G&Gc-e^MW%FO?pxt*bkce{$P)hJhjKet(ca$iu=C;N%U2qkn&;;iwlgAMzkZXND*pNBeNjvnU$DE#aipW8 z0}HquJaqU#_QC9fhs?~-8w2UG`iA<3hUd?pM_6ZYY|frNTbPEs+t>H<)~(yMw`;?~ zwmf{;`TqR}1XAxvjqe?%erP_VVBE-c7)k3$Yj7DO6o! z&wR9FDWfk);~V3yo~Y8%&g3;1LNc44<0-?T~P4u-MhubMU;t|`64VVAQ13m z2pG!I)m_MCMD1b;fJoL3cAOjfL+xEOz-GFkLmdO~0bCDOG~0JCj}^RkLrB!#T~RJf zwEH^1RY(@ba${Kn1|W=$iQ|)nZfFLR6Uibg=S$l-H1Gu?*yV<%E*$_%F+Dgu7C^GY zW25kRBH-j=M<6-alkm0x5l_V9@I)NJ9*ZZC@lIqS5%{~ImC<<2pU8Ai@4sUyS8nKN zfq+ZK;Sv)Q?Go+nIJ_M=f{TmGk_M58RU)wbJ#hkt5F5w0_^RN^;z#k=TmhRC2P`Qv zA~^{HH?%U-|CA8R{U#g7xBF6#T@)u4CuDGO1UvjvNne2h0skKw8~Y8-7tmS% z!vj{K>^LSTk#GHl84y7Bi{lFzaZxNkPdBtu%Z|-vl3lzUoT%O|o?cE=B7xvVquD#y z(+Kt?BHqK9>P+WQtg>GO{O&$KK6idhx*KT;}(4@%Szmr%VR7^u+)5Zgyt+ z)5odFiSe-y??>N_yd56;>&@%Ifj|4@uU_``zWC$$v!_oU_dM$E>U{X%_m1}a_u5)p znwuIM>ScF-yHi(t`&P}(8^2z^cD1_d%H_(6OBXMcpFdYtT2fq8c=pUM1*cD)%s+Ab zSl&@-ZqAXzhYn^R$jZ!+q^F5fQ$)%8_a*(jcaJb}cY=V=i|2CUVqv|kaYMlRAN>7%eZ0LqJ!n*l`#Lw*wPY7(Cz7LsJ&}ON z*vDuUS)}~K$`<*rY0z3BSQoIm3q2JgbrMLh1PP|GEJz4x|%8ktO5d=&#Ho! zn(b1z^ydUY7eR}fDBr5WdNCBaCcLexs4)X>;a}ieUF>zBbb0y^uezl5h)!2e*Z^#^ z*hoUT7=CZU*hUjl4A57-F}6PL%=cCeDglvJoPhsIOQU2QKTSTm2HRHsFJ0~_IQO*v zYr5_>9hy}K0&A367GeD)q6~ZBoG|jYI+TpsRP6|*LMMXQ!7yjW~v1r;95vSACoz2y2>@+@p*Cy>Uf$IY-%Lx zYEV}^`;?EOqd?RZd9u`WF!$yZcrWFk@`FNVqeydwPdbg}J8`Uh^RE|g=F{@9X8SS2XU#OU=_dM2_6Ev9I z(BV&m`!54Q)Ld`BSyNPMh6y{RVzvvW+PX5W&Miwi&%BlaF8@&7YO8ylk}fqH z{M__XF{slL<+dIWn(;933awcABioAY8NX*a@$ecHvj2lljkN3#uqfAOL-mX?rlPo1 zeN!jUIt?mU=~D}o*{vPDF>txoUEJ93ZL1K1TW;+M?;053Hl>KA!<`_CvCmM3v?@@| z*XjZU29gQd#+EVmq%1#v6=KknqrP~u-f$q-<5J{#r?RpSoDpLbw7Uvs`M43O5T!gd z-C-lKW*e(Q)quQ^L;6!9qt}55po0L}pIIEF4x(5u=3%me3ma4}Q!?BQ;1W{ISdwX- z2{cgyjLBz6{OPR*PnsK6i$H4p>>P;HM{FK~J*a?Y=+#}-aOkE%L2dc&tK!!!pYhN; zH(U>I>B+cK+K-|~$`Bh`8o;9<-CqNxChNzGQ`+i{{~T(%fTluWfyFB(0;#ARx%x_| zC@6Udq%!eT4CyIap<0;o5*nlt6+L0rv;pLeus5Bl zeOAF{iZ;q}^3xwuYs`&aT`Qwf;ISE|Q-#{XJ*mb+!?&{u{?)Z6p8y literal 1082 zcmV-A1jYMDNk%w1VR`@}0K@|$p)IXNUICCbUl<~Tp{kd*ej zz5oFLQ&dy?-rwULCE(xSzrVj_W@YK==>GBYqN1X5baV3Z@|2a7xw*Qtw6uVLfZzZL z3=It74;azW(*OVeA^8LV00000EC2ui0D1r-000I5peK%GX`X1Ru59bR<0sE_ZQppV z?|kq7qMvM%KqMx@q;ko`1%-%>l+dhNuTGCJ5$JRR2qbn)Rz7`EZ@|$gyWhGqPqFcS z**JlMpn&_Uayk=fUK?RJ1X2MBe~n3jISF-khByk8hmM*%kT(rqb{!jxH;HN;eVeK` zoi&4#b^)n13SE@5Zx<02TB|m#G^U|zVl~2rq&pA;1ram?5zGfS0}BfnzQ4VZu#{9b zwYJDT8P)>=GXe$H*ftCt91z(xz#o$0l*z%}qWU=*@CH090IyxT5AWhVL-&JW6JYm3 zsgVV41HOLb0uF>H@52KP%or2^pzyU+21J+!a{z;B8X`n62tnt{ zEH?xYk|-(@jWqa1W#k|*-GG80Aduu>4FE}b6i8ZIz~Mqvt_G-5HINV<01q0hF_^)C zYe!bwXf&`DfZv91H0a!MkZ);I8R|G%FhH^y1FIYkNU#bZ!iA>*BzQm!fG}mt93ngj zYv6&$uz%qqlH!1X193{9Ax&_)5MCVsnQlx>A)o{q2@llHEJK2U1r#Q8DB!_@26zPy z7%%)G0z9v~Da46OOF@GMd~el|RP>XryEG;!a5y9OxpX5FS9s1A-boGs3JjS4n-|HZ z!p}djT0p=7jS(zhfCbad0ZSKc%z$107mFr!I2!qSVM`jeSji5o2~dkZSh$(O@TWcQ^^eBVD!OIcbQhl1`^5u82~a3VATR^ z0c2GL5L`f5V*gpC!2upnP=N(ho_D2+1rX>PVxa-G1Dbd_IOdH>S#(D+G+;o|RPez! zjR0*;#T7}|RKS&43lv~dKqnT4B}oIya2!b-f|9Y7ej11A!uA7P2gFj-}{$+&}12jan zK!5=R50J;w0TA3KLA^6r-~pf(3b1du0zW{o1PITto0Q@{$`1mGFo?%9tSQm~0SV5N zgaD9z*{}`-TvQi>6nUb+$r)>$1O!wynnOJ@=tWep?y5|N1P~nHSr0JFFjOo-+AOrU zGkW5HrN7ou^UxaiEJFjPbx~T%ObhMw4B|C_Y1Knt&Gpyxz##V6WS4FB3LyXhJ0UQ? Ak^lez From ac8bee4aa08cad20974ab0fdf247b92444c4a71c Mon Sep 17 00:00:00 2001 From: SBCODE Date: Wed, 25 May 2022 09:48:29 +0100 Subject: [PATCH 08/13] Update FUNDING.yml --- .github/FUNDING.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index a3e9e77..e546f77 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -3,7 +3,7 @@ github: [Sean-Bradley]# Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] patreon: seanwasere open_collective: # Replace with a single Open Collective username -ko_fi: # Replace with a single Ko-fi username +ko_fi: sean_bradley tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry liberapay: # Replace with a single Liberapay username From ab5401e782f67a461c2194e3832083ec218e5250 Mon Sep 17 00:00:00 2001 From: Sean Bradley Date: Tue, 16 Aug 2022 09:33:03 +0100 Subject: [PATCH 09/13] updates --- factory/client.py | 2 +- factory/factory_concept.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/factory/client.py b/factory/client.py index 0a93224..c4f9bc5 100644 --- a/factory/client.py +++ b/factory/client.py @@ -3,5 +3,5 @@ from chair_factory import ChairFactory # The Client -CHAIR = ChairFactory().get_chair("SmallChair") +CHAIR = ChairFactory.get_chair("SmallChair") print(CHAIR.get_dimensions()) diff --git a/factory/factory_concept.py b/factory/factory_concept.py index 0c17e2a..7adab51 100644 --- a/factory/factory_concept.py +++ b/factory/factory_concept.py @@ -58,5 +58,5 @@ def create_object(some_property): # The Client -PRODUCT = Creator().create_object('b') +PRODUCT = Creator.create_object('b') print(PRODUCT.name) From cf5f268504d07ce711244dcc6c15fc734b1a4754 Mon Sep 17 00:00:00 2001 From: Sean Bradley Date: Tue, 16 Aug 2022 09:59:19 +0100 Subject: [PATCH 10/13] updates --- abstract_factory/README.md | 8 ++++---- abstract_factory/abstract_factory_concept.py | 4 ++-- abstract_factory/furniture_factory.py | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/abstract_factory/README.md b/abstract_factory/README.md index 19f2dd5..69d18d8 100644 --- a/abstract_factory/README.md +++ b/abstract_factory/README.md @@ -60,7 +60,7 @@ Your Python code may produce errors. It happens to everybody. It is hard to fore Use the `Try`, `Except` and optional `finally` keywords to manage error handling. -In the example code, if no chair or table is returned, an `Exception` error is raised and it includes a text string that can be read and written to the console. +In the example code, if no chair or table is returned, an `Exception` error is raised, and it includes a text string that can be read and written to the console. Within your code you can use the `raise` keyword to trigger Python built in exceptions or even create your own. @@ -69,9 +69,9 @@ def get_furniture(furniture): "Static get_factory method" try: if furniture in ['SmallChair', 'MediumChair', 'BigChair']: - return ChairFactory().get_chair(furniture) + return ChairFactory.get_chair(furniture) if furniture in ['SmallTable', 'MediumTable', 'BigTable']: - return TableFactory().get_table(furniture) + return TableFactory.get_table(furniture) raise Exception('No Factory Found') except Exception as _e: print(_e) @@ -97,7 +97,7 @@ The `try/except` allows the program to continue running, as can be verified by t Alternatively, if your code didn't include the `try/except` and optional `finally` statements, the Python interpreter would return the error `NameError: name 'my_var' is not defined` and the program will crash at that line. -Also note how the default Python inbuilt error starts with `NameError` . You can handle this specific error explicitly using an extra `except` keyword. +Also note how the default Python inbuilt error starts with `NameError`. You can handle this specific error explicitly using an extra `except` keyword. ``` python try: diff --git a/abstract_factory/abstract_factory_concept.py b/abstract_factory/abstract_factory_concept.py index 2cdde1b..7b6a105 100644 --- a/abstract_factory/abstract_factory_concept.py +++ b/abstract_factory/abstract_factory_concept.py @@ -22,9 +22,9 @@ def create_object(factory): "Static get_factory method" try: if factory in ['aa', 'ab', 'ac']: - return FactoryA().create_object(factory[1]) + return FactoryA.create_object(factory[1]) if factory in ['ba', 'bb', 'bc']: - return FactoryB().create_object(factory[1]) + return FactoryB.create_object(factory[1]) raise Exception('No Factory Found') except Exception as _e: print(_e) diff --git a/abstract_factory/furniture_factory.py b/abstract_factory/furniture_factory.py index efd74f8..f52fdc9 100644 --- a/abstract_factory/furniture_factory.py +++ b/abstract_factory/furniture_factory.py @@ -13,9 +13,9 @@ def get_furniture(furniture): "Static get_factory method" try: if furniture in ['SmallChair', 'MediumChair', 'BigChair']: - return ChairFactory().get_chair(furniture) + return ChairFactory.get_chair(furniture) if furniture in ['SmallTable', 'MediumTable', 'BigTable']: - return TableFactory().get_table(furniture) + return TableFactory.get_table(furniture) raise Exception('No Factory Found') except Exception as _e: print(_e) From 27ae28142016094bd8b9b11b81c8836438ad0345 Mon Sep 17 00:00:00 2001 From: Sean Bradley Date: Wed, 12 Oct 2022 20:50:02 +0100 Subject: [PATCH 11/13] 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 12/13] 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 13/13] 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