2014/1/20 Benjamin <benjamin.vanryseghem.pharo@gmail.com>
On 20 Jan 2014, at 15:36, Sean P. DeNigris <sean@clipperadams.com> wrote:
I had some questions about NewValueHolder and I figured, why not revive COTDC?!
I loved it :)
The current comment is: "A NewValueHolder is a new implementation of ValueHolder based on Announcements". Of course, ValueHolder doesn't have
a
class comment. Wikipedia claims a value holder is "a generic object that handles the lazy loading behavior, and appears in place of the object's data fields" [1]. So: - what is a NewValueHolder?
I am a class holding any object inside its unique instance variable. Each time the instance variable value changes, an announcement is emitted.
we should distinguish between "storing a object" and "change a value". At the moment, NewValueHolder announces every time we store into this value holder regardless wether the value changed.