GithubHelp home page GithubHelp logo

zhengcy999 / kama-designpattern Goto Github PK

View Code? Open in Web Editor NEW

This project forked from youngyangyang04/kama-designpattern

0.0 0.0 0.0 13.18 MB

卡码网-23种设计模式精讲,每种设计模式都配套代码练习题,支持 Java,CPP,Python,Go

kama-designpattern's Introduction

卡码网设计模式精讲

用Java讲解23种设计模式,每篇讲解下方有对应的 CPP,Python,GO代码,其他语言版本,欢迎大家提交PR,贡献一波。

本仓库配套卡码网设计模式专属练习题库

前言

“设计模式”被公认为是软件开发的最佳实践,但也一直是“高深、玄妙”的代名词,这也导致很多人对其望而生畏,缺乏对其概念的基本认识。

因此卡码网推出了设计模式基础教程,免费公开给本站的用户,旨在让你对23种“设计模式”有所了解,能知道其基本骨架,初步认识设计模式的使用场景。

区别于网上其他教程,本教程的特点是:

  • 23种设计模式全覆盖,涵盖了所有Gang of Four设计模式,包括创建型、结构型和行为型设计模式。
  • 通过23道简单而实用的例子,以刷算法题的形式了解每种设计模式的概念、结构和应用场景
  • 为每个设计模式提供清晰的文字解释、结构图和代码演示,帮助你更好地理解和实践。
  • 难度安排循序渐进,从基础的、常用的设计模式逐步深入。

设计模式大纲:

image-20240103193726391

本PDF提供 23种设计模式的讲解,同时给出对应的练习题目,在:设计模式专属练习题库

目录

1、单例模式

2、工厂方法模式

3、抽象工厂模式

4、建造者模式

5、原型模式

6、适配器模式

7、代理模式

8、装饰模式

9、外观模式

10、桥接模式

11、组合模式

12、享元模式

13、观察者模式

14、策略模式

15、命令模式

16、中介者模式

17、备忘录模式

18、模板方法模式

19、迭代器模式

20、状态模式

21、责任链模式

22、解释器模式

23、访问者模式

kama-designpattern's People

Contributors

youngyangyang04 avatar jinbudaily avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.