Christian Haider: How values make systems simpler - 25 Sep 2024 @ 7pm BST
How values make systems simpler
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.
This will be an online meeting from home.
If you'd like to join us, please sign up in advance on the meeting's Meetup page to receive the meeting details. Don’t forget to bring your laptop and drinks!
Comments