Title :
Extended Object-Typing for Selecting Specialized Behavior from Subclasses
Author :
Naeem, Majid ; Harrison, C.J.
Author_Institution :
Fac. of Inf. Technol., Univ. of Central Punjab, Lahore
Abstract :
In statically typed object-oriented languages, reusable libraries of pre-compiled components can be used in type-safe manner without requiring a compiler to type check an already compiled class. A particular problem with object-oriented languages is determining whether a method provided in a superclass will continue to type check correctly when inherited in a subclass. In this paper, we address the problem of type checking a method body such that the most specialized behaviour for an object is determined without restricting the type of methods in subclasses to be identical to those in superclasses and without introducing special keywords for such methods. We present a solution in a static type system via extensions to an object´s typing information. Our approach gives a precise meaning to the variations of receiver type and argument type, and increases the expressibility of a persistent object-oriented programming language called POOL
Keywords :
object-oriented languages; object-oriented programming; program compilers; software libraries; software reliability; type theory; POOL; argument type; compiled class; extended object-typing; persistent object-oriented programming language; precompiled components; receiver type; reusable libraries; static type system; subclasses behavior; type check; type-safe manner; Joining processes; Object oriented programming; Software libraries; Software reusability;
Conference_Titel :
9th International Multitopic Conference, IEEE INMIC 2005
Conference_Location :
Karachi
Print_ISBN :
0-7803-9429-1
Electronic_ISBN :
0-7803-9430-5
DOI :
10.1109/INMIC.2005.334439