From da0b3ebfdcf6cad790cef5a018b3d3e785f7e7dc Mon Sep 17 00:00:00 2001 From: Mahdi Azarboon <21277296+azarboon@users.noreply.github.com> Date: Tue, 11 Jun 2024 13:40:04 +0800 Subject: [PATCH 1/2] Update README.md Before diving into any of the patterns, readers should be reminded of two fundamental laws in software architecture: 1.Everything is a trade-ff 2."Why is more important than the how" So, readers face the nuances and reality of these patterns from the beginning. These two laws are coined by two thought leaders in software architecture: Mark Richards and Neal Ford. They have explained these two laws in various conference talks and books. For example, here you can read about these two laws here: https://www.infoq.com/podcasts/software-architecture-hard-parts/ Also, here is a book for reference: https://a.co/d/fKOodW9 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8dec0c1..09e9786 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ A short cheat-sheet with Xcode 10.2 Playground ([Design-Patterns.playground.zip] ```swift print("Welcome!") ``` - +Remember that each pattern has its own trade-offs. And you need to pay attention more to why you're choosing a certain pattern than to how to implement it. ## Table of Contents From f14a972142e63b951999ad36d81ea3fb1a3bf66a Mon Sep 17 00:00:00 2001 From: Mahdi Azarboon <21277296+azarboon@users.noreply.github.com> Date: Sat, 3 Aug 2024 07:30:22 +0000 Subject: [PATCH 2/2] changed source file --- README.md | 2 -- source/contents.md | 1 - source/contentsReadme.md | 1 + 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 09e9786..03a9483 100644 --- a/README.md +++ b/README.md @@ -17,8 +17,6 @@ A short cheat-sheet with Xcode 10.2 Playground ([Design-Patterns.playground.zip] ```swift print("Welcome!") ``` -Remember that each pattern has its own trade-offs. And you need to pay attention more to why you're choosing a certain pattern than to how to implement it. - ## Table of Contents | [Behavioral](#behavioral) | [Creational](#creational) | [Structural](#structural) | diff --git a/source/contents.md b/source/contents.md index 8503238..e7b0848 100644 --- a/source/contents.md +++ b/source/contents.md @@ -1,4 +1,3 @@ - ## Table of Contents * [Behavioral](Behavioral) diff --git a/source/contentsReadme.md b/source/contentsReadme.md index 6f1d4c6..0e5cf79 100644 --- a/source/contentsReadme.md +++ b/source/contentsReadme.md @@ -1,3 +1,4 @@ +Remember that each pattern has its own trade-offs. And you need to pay attention more to why you're choosing a certain pattern than to how to implement it. ## Table of Contents