Complex values in Smalltalk
Author(s) -
Thomas J. Schrader,
Christian Haider
Publication year - 2009
Publication title -
citeseer x (the pennsylvania state university)
Language(s) - English
Resource type - Conference proceedings
DOI - 10.1145/1735935.1735957
Subject(s) - smalltalk , computer science , programming language , stateful firewall , simple (philosophy) , object oriented programming , programming paradigm , context (archaeology) , theoretical computer science , computer network , philosophy , paleontology , epistemology , network packet , biology
Distinguishing between stateful objects and Values has long been recognized as fruitful. Values are universal context free abstractions that prevent side-effects and allow for a functional programming style. Though object-oriented programming languages provide simple Values like Integer and String, more complex Values are usually not supported. We show how to model complex structures as Values in Smalltalk, which allows for a simple and versatile implementation. The resulting Smalltalk systems are simple, clear and easily testable.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom