Summary
Recent papers have attacked the use of locations, or pointers, as data objects in programs. This paper considers a generalization of this attack — attempting to remove locations from the underlying semantic model. Using the “mathematical semantics” of Scott and Strachey, we show that reference parameters and Algol scope rules for procedures, two constructs requiring the notion of reference, can be replaced with alternative constructs not requiring locations in the definition. Some conclusions are also drawn about the use of mathematical semantics as a language design tool.
Similar content being viewed by others
References
Guttag, J.V.: The specification and application to programming of abstract data types. Computer Systems Research Group, University of Toronto, CSRG-59, Ph. D. Thesis, 1975
Hoare, C.A.E.: Procedures and parameters: An axiomatic approach. In: Symposium on semantics of algorithmic languages (E. Engeler, ed.), Lecture Notes in Mathematics, Vol. 188, pp. 102–116. Berlin-Heidelberg-New York: Springer 1971
Hoare, C.A.R.: Hints on programming language design. Invited address at SIGACT/SIGPLAN Symposium on Principles of Programming Languages, Boston, October 1973
Hoare, C.A.R.: Recursive date structures. Computer Science Department, Stanford University, STAN-CS-73-400, October 1973
Kieburtz, R.B.: Programming without pointer variables. SIGPLAN Notices 11, 95–107 (1976)
Landin, P.J.: A correspondence between Algol 60 and Church's Lambda notation. Comm. ACM 8, 89–101, 158–165 (1965)
Liskov, B., Zilles, S.: Programming with abstract data types. SIGPLAN Notices 9, 50–69 (1974)
Morris, J.H., Jr.: Types are not sets. Conference Record of ACM Symposium on Principles of Programming Languages, Boston, pp. 120–124, October 1973
Wulf, W., Shaw, M.: Global variables considered harmful. SIGPLAN Notices 8, 28–34 (1973)
Author information
Authors and Affiliations
Additional information
This research was partially supported by the National Research Council of Canada and by National Science Foundation grant MCS 76-14293
Rights and permissions
About this article
Cite this article
Donahue, J.E. Locations considered unnecessary. Acta Informatica 8, 221–242 (1977). https://doi.org/10.1007/BF00264468
Received:
Issue Date:
DOI: https://doi.org/10.1007/BF00264468