Toggle site
Catalog
You've read
0
%
1.
多态
2.
封装
liuarui
基于hexo搭建的个人博客
Follow Me
Articles
41
Tags
38
liuarui的博客
Home
Archives
Tags
设计模式
2020-03-20
找出程序中变化的地方,并将变化封装起来
重要的是模式的意图,而不是程序的结构
多态
同一操作作用于不同的对象上面,可以产生不同的解释和不同的执行结果
把不变的抽离,可变的封装
封装
目的;将信息隐藏
Author:
liuarui
Link:
https://liuarui.github.io/2020/03/20/编程范式/设计模式/设计模式概念/
Copyright Notice:
All articles in this blog are licensed under
CC BY-NC-SA 4.0
unless stating additionally.
编程范式
函数式编程
vue学习笔记