|
ABSTRACT
We presen t an object-oriented calculus whic hallows arbitrary hiding of methods in protot ypes, even in the presence of binary methods and friend functions. This combination of features permits complete control of the in terface a class exposes to the remainder of a program (which is of key importance for program readability, security and ease of maintenance), while still allowing complex in teractions with other classes belonging to the same module or softw are component.This result is made possible by the use of views. A view is a name that specifies an in terface to an object. A set of views is attached to each object and a method can be invoked either directly or via a view of the object.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
|
| |
2
|
|
| |
3
|
|
| |
4
|
K. B. Bruce, A. Fiech, and L. Petersen. Subtyping is not a good "match" for object-oriented languages. In ECOOP, number 1241 in LNCS, pages 104-127. Springer-Verlag, 1997.
|
 |
5
|
|
| |
6
|
|
| |
7
|
|
| |
8
|
K. Fisher and J. Reppy. Foundations for Moby classes. Bell Labs Technical Memorandum, December 1998.
|
 |
9
|
|
| |
10
|
|
 |
11
|
Matthew Flatt , Shriram Krishnamurthi , Matthias Felleisen, Classes and mixins, Proceedings of the 25th ACM SIGPLAN-SIGACT symposium on Principles of programming languages, p.171-183, January 19-21, 1998, San Diego, California, United States
[doi> 10.1145/268946.268961]
|
| |
12
|
G. Ghelli and D. Palmerini. Foundations for extensible objects with roles. Presented at the FOOL'6 workshop, Jan. 1999.
|
 |
13
|
Pietro Di Gianantonio , Furio Honsell , Luigi Liquori, A lambda calculus of objects with self-inflicted extension, Proceedings of the 13th ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications, p.166-178, October 18-22, 1998, Vancouver, British Columbia, Canada
|
| |
14
|
|
| |
15
|
B. C. Pierce and D. N. Turner. Statically typed friendly functions via partially abstract types. Technical Report ECS-LFCS-93-256, University of Edinburgh, LFCS, Apr. 1993. Also available as INRIA-Rocquencourt Rapport de Recherche No. 1899.
|
| |
16
|
|
 |
17
|
|
| |
18
|
|
| |
19
|
M. Wand. Complete type inference for simple objects. In D. Gries, editor, Second Symposium on Logic In Computer Science, pages 207-276, Ithaca, New York, June 1987. IEEE Computer Society Press.
|
| |
20
|
A. K. Wright and M. Felleisen. A syntactic approach to type soundness. Technical Report COMP TR91-160, Department of Computer Science, Rice University, Houston, Texas, Apr. 1991.
|
|