spec-framework / spec

The code of Spec for Pharo
MIT License
16 stars 6 forks source link

Discussion about ReactiveVariable vs ValueHolder #17

Open BenjaminVanRyseghem opened 9 years ago

BenjaminVanRyseghem commented 9 years ago

Issue to discuss point of view about renaming NewValueHolder into ReactiveVariable

BenjaminVanRyseghem commented 9 years ago

This are the first answers provided by Google searching for: 'ValueHolder'

So I have to think that for a new comer, ValueHolder is not what it's to be expected. And as it was previously discussed in the mailing list, ValueHolder is not really reflecting the behavior of the class which is to trigger an event each time the value it contains is changed.

StephanEggermont commented 9 years ago

The Groovy one has exactly the same behavior. The others also seem to be more or less consistent with Bobby Woolf in 1994 in http://c2.com/ppr/vmodels.html Java of course has an issue with overcoming static typing problems.