使用集合组件进行非常高级的编程

M. Evered, G. Menger
{"title":"使用集合组件进行非常高级的编程","authors":"M. Evered, G. Menger","doi":"10.1109/TOOLS.1999.779078","DOIUrl":null,"url":null,"abstract":"Despite the possibility of providing standard collection frameworks, object-oriented languages do not generally encourage a 'very high level' style of programming in which collection components are regarded as first class citizens and in which different implementations for a collection can be exchanged without affecting the correctness of a program and with minimal change to the source code. This results both from weaknesses in the structure of the frameworks and from the poor degree of integration of collections into the languages. We present a new approach to the integration of collections in object-oriented languages in which collection types are part of the language but collection implementations are not. We also show how the integration of collection types allows automatic conversions which, among other advantages, provide a new solution to the problem of statically type-safe compatibility for collections.","PeriodicalId":434404,"journal":{"name":"Proceedings Technology of Object-Oriented Languages and Systems. TOOLS 29 (Cat. No.PR00275)","volume":"11 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1999-06-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"6","resultStr":"{\"title\":\"Very high level programming with collection components\",\"authors\":\"M. Evered, G. Menger\",\"doi\":\"10.1109/TOOLS.1999.779078\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Despite the possibility of providing standard collection frameworks, object-oriented languages do not generally encourage a 'very high level' style of programming in which collection components are regarded as first class citizens and in which different implementations for a collection can be exchanged without affecting the correctness of a program and with minimal change to the source code. This results both from weaknesses in the structure of the frameworks and from the poor degree of integration of collections into the languages. We present a new approach to the integration of collections in object-oriented languages in which collection types are part of the language but collection implementations are not. We also show how the integration of collection types allows automatic conversions which, among other advantages, provide a new solution to the problem of statically type-safe compatibility for collections.\",\"PeriodicalId\":434404,\"journal\":{\"name\":\"Proceedings Technology of Object-Oriented Languages and Systems. TOOLS 29 (Cat. No.PR00275)\",\"volume\":\"11 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"1999-06-07\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"6\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings Technology of Object-Oriented Languages and Systems. TOOLS 29 (Cat. No.PR00275)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/TOOLS.1999.779078\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings Technology of Object-Oriented Languages and Systems. TOOLS 29 (Cat. No.PR00275)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/TOOLS.1999.779078","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 6

摘要

尽管有可能提供标准的集合框架,但面向对象语言通常不鼓励“非常高级”的编程风格,在这种风格中,集合组件被视为一等公民,并且可以在不影响程序正确性的情况下交换集合的不同实现,并且对源代码进行最小的更改。这一方面是由于框架结构的缺陷,另一方面是由于集合与语言的集成程度不高。我们提出了一种在面向对象语言中集成集合的新方法,其中集合类型是语言的一部分,而集合实现不是。我们还展示了集合类型的集成如何允许自动转换,除了其他优点之外,它还为集合的静态类型安全兼容性问题提供了一种新的解决方案。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Very high level programming with collection components
Despite the possibility of providing standard collection frameworks, object-oriented languages do not generally encourage a 'very high level' style of programming in which collection components are regarded as first class citizens and in which different implementations for a collection can be exchanged without affecting the correctness of a program and with minimal change to the source code. This results both from weaknesses in the structure of the frameworks and from the poor degree of integration of collections into the languages. We present a new approach to the integration of collections in object-oriented languages in which collection types are part of the language but collection implementations are not. We also show how the integration of collection types allows automatic conversions which, among other advantages, provide a new solution to the problem of statically type-safe compatibility for collections.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术官方微信