New? perspective of the tranditional comcepts
Oject - a boundle of data and members vs. things with responsibility.
Encapsulation - hiding data vs. the ability to hide anything.
Inheritance - for specialization and reuse vs. a method of classifying objects
the new perspective is based on concept layer rather than implementation layer.
Find what is varying and encapsulate it.
?
博客提出传统概念的新视角,如对象是有责任的事物而非数据和成员集合,封装是隐藏任何事物的能力,继承是分类对象的方法。新视角基于概念层而非实现层,还提到找出变化并封装。
907

被折叠的 条评论
为什么被折叠?



