DocumentCode
2017069
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
fYear
2005
fDate
24-25 Dec. 2005
Firstpage
1
Lastpage
9
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;
fLanguage
English
Publisher
ieee
Conference_Titel
9th International Multitopic Conference, IEEE INMIC 2005
Conference_Location
Karachi
Print_ISBN
0-7803-9429-1
Electronic_ISBN
0-7803-9430-5
Type
conf
DOI
10.1109/INMIC.2005.334439
Filename
4133454
Link To Document