A Proposal for Harmonising Types, Inheritance and Polymorphism for Object-oriented Programming
نویسنده
چکیده
Object-Oriented Programming (OOP) has attracted a large following in recent years. Goals for the paradigm have included bringing computational implementations closer to abstractions (the HCI school, exemplified by Smalltalk []), partitioning spaces of concepts (the AI school, exemplified by CLOS []) and software engineering for reuse and extensibility (the SE school, exemplified by Eiffel []). The present trend is away from type-free or dynamically typed languages and towards strong static typing, with some dynamic binding. Attempts to provide formal typed models of OOP have been frustrated by the great flexibility in languages that permit unrestricted redefinition of class properties. The principal difficulty lies in devising a typed functional algebra that conforms to the operational definition of OOP languages, which are usually described in completely different terms.
منابع مشابه
A Study of Semantics, Types and Languages for Databases and Object-Oriented Programming
The purpose of this thesis is to investigate a type system for databases and object-oriented programming and to design a statically typed programming language for these applications. Such a language should ideally have a static type system that supports: polymorphism and static type inference, rich data structures and operations to represent various data models for databases including the relat...
متن کاملModule Constructs for Object-oriented and Functional Programming Languages Dissertation Proposal
Object-oriented languages ooer mechanisms to help structure large programs. However, the semantics of these constructs are often not very precisely deened. For example, the use of inheritance as a substitute for subtype polymorphism in many object-oriented languages either leads to an unsound or a too innexible type system. In addition, ideas from module constructs of functional languages could...
متن کاملMultiple Inheritance via Intersection Types
Combining intersection types with higher-order subtyping yields a typed model of object-oriented programming with multiple inheritance. Objects, message passing, subtyping, and inheritance appear as programming idioms in a typed-calculus, a modelling technique that facilitates experimentation and helps in distinguishing between essential aspects of the object-oriented style |encapsulation and s...
متن کاملDeclarative Semantics in Object-Oriented Software Development - A Taxonomy and Survey
One of the modern paradigms to develop an application is object oriented analysis and design. In this paradigm, there are several objects and each object plays some specific roles in applications. In an application, we must distinguish between procedural semantics and declarative semantics for their implementation in a specific programming language. For the procedural semantics, we can write a ...
متن کاملTowards Variational Object-Oriented Programming: The Rondo Model
This paper presents a proposal to improve the standard object-oriented programming model with respect to supporting a larger range of incremental behavior variations. It will be demonstrated that classes and inheritance perfectly support the incremental modeling of diierent variants of a base abstract data type, but they do not properly model what we call context-dependent variations. These beh...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2006