首页> 外文期刊>SIGCSE bulletin >The Hidden Injuries Of Overloading 'adt'
【24h】

The Hidden Injuries Of Overloading 'adt'

机译:超载“ adt”的隐患

获取原文
获取原文并翻译 | 示例
           

摘要

The most commonly stated definition of abstract data type (ADT) is that it is a domain of values and the operations over that domain. So, for example, a language's built-in types, like int are seen to be ADTs. It is our opinion that a pure interpretation of this definition yields a semantics in which using an ADT is the same as using built-in types: the operations are side effect free and there is no concern over alias, shallow copy or synchronization problems. Unfortunately, the term abstract data type has over time been associated with at least three distinct meanings, and those incompatible definitions have often been conflated, causing confusion to students and textbook authors alike. We believe that this has resulted in a loss of appreciation for the value-based semantics of ADTs.
机译:最抽象的抽象数据类型(ADT)定义是,它是值的一个域,并且是对该域的操作。因此,例如,一种语言的内置类型(如int)被视为ADT。我们认为,对该定义的纯解释会产生一种语义,其中使用ADT与使用内置类型相同:操作无副作用,并且无需担心别名,浅表复制或同步问题。不幸的是,随着时间的流逝,术语抽象数据类型至少与三种不同的含义相关联,并且那些不兼容的定义经常被混淆,从而引起学生和教科书作者的困惑。我们认为,这导致人们对ADT的基于价值的语义失去了欣赏。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号