Vernacular Design Patterns 28 Lectures implement by Go
English | 简体中文
Despatt mainly refer to Everybody Know Design Patterns : How to comprehend Design Patterns from daily life, which introduces:
- 19 commonly used design patterns for development and other 4 seldomly used design patterns in the remaining
- Derivation of basic design patterns, as well as important and common programming mechanism
- Experience and opinions on design principles, design patterns, and project reconstruction from Weifu Luo
More importantly, I recommend that you read some specific articles, depending on your language, before you read the entire content.
- Go
- Singleton mode
- Factory mode
- Strategy mode
- Module mode
- Proxy mode
- Option mode
Welcome to contribute Despatt with implements of different programming languages, such as Java, C++, Rust, and ...
- Python(default) - luoweifu/PyDesignPattern
- Go - @Jacob953
- JavaScript - @Rick Lin
- Cpp - @Devote
If you are new to the Design Patterns, I suggest you follow the Original table of contents. As well, you can just figure out what you need following GoF's Standard way.
Creational
Structural
Behavioral
Please make your issue before pulling requests directly!
Contributions including but not limited to the following forms are welcome.
- Translate to a different language
- Add a new programming language
- Fix typos or mistakes
- Tell me your expectations
- ......
Attention
If you're going to add a new programming language, follow the rules.
- Make sure your issue has been read and approved. (After that, I'll create a new branch for your contribution, like
dev-go
) - Create a new folder at the same level with
global
, and name the folder with the new language, likego
- Copy the struct of folders from
global
to your new folder, likego
- Push your commits to specific branch, like
dev-go
- Merge into branch
develop
, rather thanmain
Despatt follows the GPL-3.0 License
You can contact me by jacob953@csu.edu.cn