跳到主要导航 跳到搜索 跳到主要内容

Pre-post notation is questionable in effectively specifying operations of object-oriented systems

  • Hosei University

科研成果: 期刊稿件 › 文章 › 同行评审

摘要

There is a growing tendency for people in the community of object-oriented methods to use pre- and post-conditions to write formal specifications for operations (methods) of classes. The motivation for trying to take advantage of well established formalism in precisely defining the functionality of operations is laudable, but unfortunately this exercise may be flawed because the use of pre- and post-conditions containing method calls (or similar) with side effects are likely to cause confusion in the interpretation of specifications. This paper analyzes, with comprehensible examples, why using pre-post notation is not effective to specify operations in objectoriented systems in general, discusses existing approaches to using pre-post notation for object-oriented systems, and offers some solutions to the problem.

源语言英语
页(从-至)341-352
页数12
期刊Frontiers of Computer Science in China
卷5
期3
DOI
出版状态已出版 - 9月 2011
已对外发布是

学术指纹

探究 'Pre-post notation is questionable in effectively specifying operations of object-oriented systems' 的科研主题。它们共同构成独一无二的学术指纹。

引用此