Values and objects in programming languages
暂无分享,去创建一个
Abstract : The terms value-oriented and object-oriented are used to describe both programming languages and programming styles. This paper will describe the differences between values and objects and to show that their proper discrimination can be a valuable aid to conquering program complexity. The first section will show that values amount to timeless abstractions for which the concepts of updating, sharing and instantiation have no meaning. The second section will show that objects exist in time and, hence, can be created, destroyed, copied, shared and updated. The third section shows that proper discrimination of these concepts in programming languages will clarify problems such as the role of state in functional programming. The paper concludes by demonstrating the use of the value/object distinction as a tool for program organization. (Author)
[1] John W. Backus,et al. Can programming be liberated from the von Neumann style?: a functional style and its algebra of programs , 1978, CACM.
[2] Alan Kay,et al. Microelectronics and the Personal Computer , 1977 .
[3] B. J. MacLennan. -1 - Values and Objects in Programming Languages* , 1982 .
[4] John F. Shoch,et al. An overview of the programming language Smalltalk-72 , 1979, SIGP.
[5] Bruce J. MacLennan,et al. Fen—an axiomatic basis for program semantics , 1973, Commun. ACM.