The code from my YouTube video on "5 Design Patterns That Are ACTUALLY Used By Developers"
Find a file
2023-09-07 13:41:04 +01:00
.vscode Added cake application 2023-09-04 09:27:56 +01:00
BadCakeProgram Add decorator 2023-09-04 09:55:08 +01:00
Decorator Add decorator 2023-09-04 09:55:08 +01:00
Facade Add interface shown in video 2023-09-07 13:41:04 +01:00
Observer Add observer pattern 2023-09-04 10:56:02 +01:00
Singleton Add singleton example 2023-09-04 11:29:51 +01:00
Strategy Add decorator 2023-09-04 09:55:08 +01:00
.gitignore Added cake application 2023-09-04 09:27:56 +01:00
design-patterns.sln Added cake application 2023-09-04 09:27:56 +01:00
LICENSE Initial commit 2023-08-03 13:42:39 +01:00
README.md Add interface shown in video 2023-09-07 13:41:04 +01:00

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:

  1. Strategy Pattern
  2. Decorator Pattern
  3. Observer Pattern
  4. Singleton Pattern
  5. Facade Pattern

To run them just cd into each folder and run dotnet run.

Note: You will need the .Net Core SDK installed to run these.