The code from my YouTube video on "5 Design Patterns That Are ACTUALLY Used By Developers"
.vscode | ||
BadCakeProgram | ||
Decorator | ||
Facade | ||
Observer | ||
Singleton | ||
Strategy | ||
.gitignore | ||
design-patterns.sln | ||
LICENSE | ||
README.md |
5 Design Patterns That Are ACTUALLY Used By Developers
The code from my YouTube video on "5 Design Patterns That Are ACTUALLY Used By Developers".
There are 23 design patterns in the book "Design-Patterns: Elements of Reusable Object-Orientated Software". I think over my career I have probably used most of them at some point. However, I am not exactly using every pattern on a daily basis.
So I thought it would be a good idea to go through each of the patterns and work out what the top 5 are that I use regularly and see other people using in their code.
I came up with the following 5 Design Patterns:
To run them just cd
into each folder and run dotnet run
.
Note: You will need the .Net Core SDK installed to run these.