数据抽象

原文第2章第2节

数据抽象(Data Abstraction)

The general technique of isolating the parts of a program that deal with how data are represented from the parts that deal with how data are manipulated is a powerful design methodology called data abstraction.
分离数据的形式和处理过程。

抽象隔离(Abstraction Barriers)

An abstraction barrier violation occurs whenever a part of the program that can use a higher level function instead uses a function in a lower level.
当函数运行时,本应调用高级别子函数却使用低级别子函数时,即遇到抽象隔离。

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • **2014真题Directions:Read the following text. Choose the be...
    又是夜半惊坐起阅读 13,507评论 0 23
  • 2003年在美国的Getty Research Institute举办了一场名为“Drawn from the A...
    weart阅读 1,153评论 0 1
  • 好几天懒惰的没有写日记了,今天礼拜五,孩子的作业没有检查,并且还痛快的去同学家玩到九点,回家的路上儿子很开心,说他...
    崔世新妈妈阅读 1,486评论 0 0
  • 引言 相信初接触到CALayer的人都会遇到以下几个问题: 为什么修改anchorPoint会移动layer的位置...
    大头青年阅读 4,338评论 1 8

友情链接更多精彩内容