Skip to content

Introduce dpp, dp, program, coding, testing etc.

Notifications You must be signed in to change notification settings

Alice52/programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

structure

  1. dpp: 对于某些场景下, 是否应该应用某种设计模式, 具有指导意义

    • solid
    • lod
    • 组合复用{继承组合接口抽象}
    • kiss
    • dry
    • YAGNI
  2. dp: 经常遇到的一些设计问题, 总结出来的一套解决方案或者设计思路

    • 创建者模式[5]:
    • 结构型模式[7]:
    • 行为模式[11]:
    • 在项目中的应用: 源码 || 微服务
    • 反模式
    • best practice
  3. coding

    • 程序
    • coding style
    • 代码质量
    • refactor: 小原型 + 两顶帽子
    • best practice
  4. programming

    • types
      1. oop vs po: java || go
      2. declarative vs imperative
      3. 函数式编程
      4. 响应式编程
      5. 模板编程
      6. 链式编程
      7. 组件化编程
    • thinking
      1. pool
      2. 拆分
      3. 延迟满足
  5. testing

    • tdd
    • pt-jmeter
  6. others

    • ddd
    • reactor
    • xxx

others

  1. oop & dpp & dp & 编程规范 & 重构 的关系: 目的写出高质量代码
    • oop 是 dpp & dp 的基础
    • 设计原则是指导我们代码设计的一些经验总结, 对设计模式有知道意义
    • 设计模式是针对软件开发中经常遇到的一些问题总结, 是满足设计原则的具体实现: 主扩展性
    • 编程规范是主可读性, 比设计模式更加细节
    • 重构是保障代码质量: 使用 1-4 做到保障代码质量

reference

  1. https://time.geekbang.org/column/intro/100039001

Releases

No releases published

Packages

No packages published

Languages