design-patterns/README.md
2023-09-07 13:41:04 +01:00

897 B

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.