数据抽象工具的一些理想属性

J. Horning
{"title":"数据抽象工具的一些理想属性","authors":"J. Horning","doi":"10.1145/800237.807119","DOIUrl":null,"url":null,"abstract":"It is currently popular to say that programming languages need “data abstraction facilities,” and to assert that the provision of such facilities would provide conceptual and practical advantages in the domain of data structures akin to the advantages provided by procedures in the domain of computational structures. This note explores some of the implications of this metaphor, without attempting to make it precise. I shall use the term <underline>capsule</underline> to refer to the data analog of <underline>procedure</underline>. [Those who are familiar with the SIMULA <underline>class</underline>, the CLU <underline>cluster</underline>, or the ALPHARD <underline>form</underline>, may use any of these as an approximation to <underline>capsule</underline>; I use a neutral term to avoid implying the details of any particular language.]\n First, what are the advantages provided by procedures (subroutines, functions, macros)? I can think of at least eight (highly interrelated) categories: 1) avoidance of repetition, 2) modular program structure, 3) a basis for structured programming, 4) conceptual units for understanding and reasoning about programs, 5) clearly defined interfaces that may be precisely specified, 6) units of maintenance and improvement, 7) a language extension mechanism, and 8) units for separate compilation. Let us consider each of these in turn.","PeriodicalId":407603,"journal":{"name":"Conference on Data: Abstraction, Definition and Structure","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1976-03-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"17","resultStr":"{\"title\":\"Some desirable properties of data abstraction facilities\",\"authors\":\"J. Horning\",\"doi\":\"10.1145/800237.807119\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"It is currently popular to say that programming languages need “data abstraction facilities,” and to assert that the provision of such facilities would provide conceptual and practical advantages in the domain of data structures akin to the advantages provided by procedures in the domain of computational structures. This note explores some of the implications of this metaphor, without attempting to make it precise. I shall use the term <underline>capsule</underline> to refer to the data analog of <underline>procedure</underline>. [Those who are familiar with the SIMULA <underline>class</underline>, the CLU <underline>cluster</underline>, or the ALPHARD <underline>form</underline>, may use any of these as an approximation to <underline>capsule</underline>; I use a neutral term to avoid implying the details of any particular language.]\\n First, what are the advantages provided by procedures (subroutines, functions, macros)? I can think of at least eight (highly interrelated) categories: 1) avoidance of repetition, 2) modular program structure, 3) a basis for structured programming, 4) conceptual units for understanding and reasoning about programs, 5) clearly defined interfaces that may be precisely specified, 6) units of maintenance and improvement, 7) a language extension mechanism, and 8) units for separate compilation. Let us consider each of these in turn.\",\"PeriodicalId\":407603,\"journal\":{\"name\":\"Conference on Data: Abstraction, Definition and Structure\",\"volume\":\"1 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"1976-03-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"17\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Conference on Data: Abstraction, Definition and Structure\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/800237.807119\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Conference on Data: Abstraction, Definition and Structure","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/800237.807119","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 17

摘要

目前流行的说法是,编程语言需要“数据抽象工具”,并断言提供这种工具将在数据结构领域提供概念上和实践上的优势,类似于计算结构领域中的过程所提供的优势。这篇文章探讨了这个比喻的一些含义,并不试图使它精确。我将使用术语胶囊来指代程序的数据模拟。[那些熟悉SIMULA类、CLU簇或ALPHARD形式的人,可以使用其中的任何一个作为capsule的近似;我使用一个中性的术语来避免暗示任何特定语言的细节。首先,过程(子程序、函数、宏)的优点是什么?我能想到至少八个(高度相关的)类别:1)避免重复,2)模块化程序结构,3)结构化编程的基础,4)理解和推理程序的概念单元,5)可以精确指定的明确定义的接口,6)维护和改进单元,7)语言扩展机制,8)单独编译的单元。让我们依次考虑这些问题。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Some desirable properties of data abstraction facilities
It is currently popular to say that programming languages need “data abstraction facilities,” and to assert that the provision of such facilities would provide conceptual and practical advantages in the domain of data structures akin to the advantages provided by procedures in the domain of computational structures. This note explores some of the implications of this metaphor, without attempting to make it precise. I shall use the term capsule to refer to the data analog of procedure. [Those who are familiar with the SIMULA class, the CLU cluster, or the ALPHARD form, may use any of these as an approximation to capsule; I use a neutral term to avoid implying the details of any particular language.] First, what are the advantages provided by procedures (subroutines, functions, macros)? I can think of at least eight (highly interrelated) categories: 1) avoidance of repetition, 2) modular program structure, 3) a basis for structured programming, 4) conceptual units for understanding and reasoning about programs, 5) clearly defined interfaces that may be precisely specified, 6) units of maintenance and improvement, 7) a language extension mechanism, and 8) units for separate compilation. Let us consider each of these in turn.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信