全部 标题 作者
关键词 摘要

OALib Journal期刊
ISSN: 2333-9721
费用:99美元

查看量下载量

相关文章

更多...
软件学报  2000 

Combining OO and Functional Language Concepts
结合面向对象和函数式语言的概念

Keywords: Object-Oriented programming,multiple inheritance,method redefinition,dynamic binding,static type safety,binary methods,functional programming,algebraic data types,higher-order functions,ML-polymorphism
面向对象程序设计
,多重集成,方法重定义,动态绑定,静态类型安全性,二元方法,函数式程序设计,代数数据类型,高阶函数,ML-多态性.

Full-Text   Cite this paper   Add to My Lib

Abstract:

This paper considers the problem of combining the object oriented and functional programming paradigms. Compared with most of the approaches in this direction, the combination has the following two advantages. First, the authors combine several important concepts as they are well known in widespread mainstream languages. In other words, the authors do not introduce new language concepts but try to interpret well known language concepts based on the new ones. Second, the combination has the property that individual language concepts do not influence the whole language to the extent as they do traditionally, so that usually one needs to pay for a language concept only when he uses it. Concretely, a core language for functional object oriented programming together with a straightforward operational semantics is proposed, where the properties mentioned above hold. The core language combines the following key language concepts from the languages Eiffel, Java, ML and Haskell: objects, classes, multiple inheritance, method redefinition, dynamic binding, static type safety, binary methods, algebraic data types, higher order functions, ML polymorphism.

Full-Text

Contact Us

service@oalib.com

QQ:3279437679

WhatsApp +8615387084133