How values make systems simpler


Details
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 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.
Christian Haider is the author of the PDFtalk library used in smallCharts and other projects. Underlying is a simple implementation of Values which he uses extensibly.
Christian will show how Values make systems simpler and easier. Examples for some uses and the limits of the approach will be discussed.
Since Values use only standard Smalltalk features, it can be used in most other Smalltalks. And all of this code is available with MIT licence.
Zoom Meeting ID = 895 9819 6284
Zoom Passcode = 417966

How values make systems simpler