Skip to content

n3m/tldr-design-patterns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TLDR; Design Patterns

A compilation of guides and examples of design patterns in different languages.

Created by an engineer that wanted level up their code quality; made for engineers.

Supported Languages

  • Golang

FAQ

What is a design pattern?

A trivial type of solution for common problems. Like blueprints or standards created to efficiently communicate with other individuals in the same context.

What are the different categories of design patterns?

  • Creational
    • They offer methods for creating objects that boost code reuse and flexibility.
  • Structural
    • They offer ways to put create big generalized structures while making them adaptable and effective.
  • Behavioural
    • They offer a sense of communication and responsibility distribution amongst objects and structures.

Why should I learn them?

A collection of tried-and-true answers to typical issues in software design is known as a design pattern. Knowing patterns is helpful even if you never run into these issues since it teaches you how to approach any issue using object-oriented design principles.

You and your team members can communicate more effectively by using design patterns, which provide a shared language. Everyone will comprehend your proposal if you say, "Oh, just use a Singleton for that." If you are aware of the pattern and its name, there is no need to describe what a singleton is.

Roadmap

  • Add TypeScript / Javascript modules
  • Add Python modules

Contributing

Contributions are always welcome!

See contributing.md for ways to get started.

Please adhere to this project's code of conduct.

Authors