Hi nicolas.

I do not remember but it seems that I did a slice to move NewValueHolder out of 
Spec inside their own package.
Then we should rename and remove the old one but it takes time and if somebody 
does it will go faster.

Stef



> NewValueHolder? the name sounds like a Squeak strategy: keep backward 
> compatibility as long as possible.
> 
> Since Pharo values cleanlyDesigned > backwardCompatible, I would expect 
> ValueHolder->LegacyValueHolder and NewValueHolder->ValueHolder.
> 
> We had too many NewParagraph, etc... in the past, history does not 
> necessarily have to repeat itself ;)
> 
> 
> 2014/1/20 Stéphane Ducasse <stephane.duca...@inria.fr>
> I commented the code in a slice that apparently was not integrated.
> But yes this is a good idea.
>         - to have more code review
>         - to revive the COTDC!!!!
> 
> 
> > I had some questions about NewValueHolder and I figured, why not revive
> > COTDC?!
> >
> > 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?
> > - is the "Value Holder" part of the name accurate in light of [1]. Obviously
> > repurposing a term people may already be familiar with is a bad idea. In
> > fact the important part here seems not the holding of the value, but the
> > notification of changes. It seems more like an event in FRP. How about
> > ReactiveVariable or AnnouncingVariable, since it combines the storage of a
> > variable with announcing of changes? I like Reactive a bit better because
> > those familiar with FRP will get the idea that it's notifying dependents,
> > Announcing maybe begs the question "announcing what?"
> > - should it replace ValueHolder, which is used only by
> > ExclusiveWeakMessageSend and WidgetExamples
> >
> > [1] http://en.wikipedia.org/wiki/Lazy_loading
> >
> > p.s. [OT] valueChanged: oldValue to: newValue seems fishy. It is only used
> > in one place in the image in this weird way "pickedItemsHolder valueChanged:
> > true to: item"
> >
> >
> >
> > -----
> > Cheers,
> > Sean
> > --
> > View this message in context: 
> > http://forum.world.st/COTDC-108-NewValueHolder-tp4738066.html
> > Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
> >
> 
> 
> 

Reply via email to