# DesignPattern **Repository Path**: fcourage/DesignPattern ## Basic Information - **Project Name**: DesignPattern - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-05-15 - **Last Updated**: 2021-12-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 设计模式学习笔记 #### 跟着《大话设计模式》学习,部分例子用golang实现,以后有实际用到,再补全代码 #### 后来发现runoob总结的很全,还有例子说明,推荐 - https://www.runoob.com/design-pattern/design-pattern-tutorial.html #### 参考了pibigstar的代码,十分感谢 - https://github.com/pibigstar/go-demo/tree/master/design #### "其实说到底,面向对象设计模式体现的就是抽象的思想,类是什么,类是对对象的抽象,抽象类呢,其实就是对类的抽象,那接口呢,说白了就是对行为的抽象。" #### 刚开始看容易云里雾里,坚持敲代码实现,多看几遍,不断加深对解耦合的理解 - 外卖:是人对吃饭地点的解耦合 - 脑机接口:是人对存在肉体的解耦合 - 移民火星:是人对生存场所的解耦合 #### 创造新的解耦合