Skip to content

pedromsmoreira/design-patterns-by-example

Repository files navigation

Design Pattern by Example

Github Page

CodeFactor Build status

This a compilation of the Creational, Behavioral and Structural Design Patterns found in the GoF book.

Each pattern has an example implementation in order to allow a better approach to learning them.

Patterns

Creational

Structural

  • Adapter
  • Bridge
  • Composite
  • Decorator
  • Facade
  • Flyweight
  • Proxy

Behavioral

If you want to contribute please do the following.

  • Fork the project.
  • Create your branch: git checkout -b pattern-name
  • Commit your code: git commit -am"add some description"
  • Push the code to your branch: git push myremote pattern-name
  • Submit a Pull Request

Mandatory

  • Each pattern must be implemented with an example. I don't care if it is simple or complex. It must be readable and clear.
  • Have a good description in the PR.
  • Add a README.md inside the pattern project with a clear explanation of the pattern.
  • The project must compile and work :)