spec-framework / spec

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

Roadmap #16

Open BenjaminVanRyseghem opened 9 years ago

BenjaminVanRyseghem commented 9 years ago

Fake issue to discuss Spec roadmap.

The goals so far are:

Ducasse commented 9 years ago

Here is my wishlist

BenjaminVanRyseghem commented 9 years ago

Here is what wikipedia says:

A value holder is a generic object that handles the lazy loading behavior, and appears in place of the object's data fields

This is not the case for what we call 'NewValueHolder' just because it used to be called like that. If you search google for "Reactive Variable" on the other hand, you find articles and papers about reactive programming, see this article.

So it seams to me that the name ValueHolder does not correspond now to what you are suggesting.

Ducasse commented 9 years ago

Ben wikipedia is not about books or docs written on Smalltalk. I'm quite sure that you do not want me to give you the list of such books but I can if this is necessary. Now you can impose this vocabulary for the sake of it but I find that silly. We have better things to do (at least me).

BenjaminVanRyseghem commented 9 years ago

I think we better have to stick with what people in the world is expecting to see, rather than use terminology from 15yo out dated books.

If you find it silly, it's your right, but except bringing more complexity to new comers, using your own vocabulary is not helping.

Ducasse commented 9 years ago

Ben seriously can you stop making statements like that. If you want to piss to mark your territory no need to argue. If you are serious and want to be credible just ask in the VisualWorks mailing-list what is a valueHolder or even in the esug mailing-lits and people will reply to you: I'm quite sure. Or you can tell them that there are obsolete :) they will appreciate. I learned VW back in 1995 should I should be obsolete :). It does not change it your argumentation is wrong. Now if instead of copying old concepts (I know I show it to you) of VisualWorks you invent new ones then you can freely give names the name you want.

Ducasse commented 9 years ago

Ben I was rereading your statement I found it ridiculous. Now seriously why don't you ask in the esug mailing-list. I'm quite sure about the result. BTW for your culture activeVariable was used by KR language and framework back in the 80 to add triggering behavior on value changes. But I'm obsolete and proud of it.

BenjaminVanRyseghem commented 9 years ago

If you could stop reading what you want to read, that could be nice.

So your point is to stick to how was named things in the 80s because it makes more sense than to stick to what people are used to today?

Should we have this discussion over minitel?

And if you find it so ridiculous, why spending 3 posts just bashing about that? Who is trying to piss to mark his territory here?

BTW aren't you just giving a counter-example to what you are saying by pointing KR language?

Ducasse commented 9 years ago

Because this is important to not break concepts. But you do not respect this because you want to show that you are in control. Why don't you change semaphore too and call it blockingVariable? About KR just think about it... I will you guess. After it is better to be known as the person that has no culture than to be unknown :)

BenjaminVanRyseghem commented 9 years ago

By calling a object used to react to modification a ValueHolder you are breaking the concept for 95% of the coders.

But if your idea is to put your balls on the tables showing that Smalltalk rules the world, please go ahead.

If you think it's an ego issue, please feel free. You clearly know better than me what ego issues are

BenjaminVanRyseghem commented 9 years ago

And if all the world names a semaphore blockingVariable, then yes, maybe it should be renamed, despite the fact there is literature with your name on the cover talking about semaphores

Ducasse commented 9 years ago

Ben you asked me why I'm concerned here are the real reasons:

Now really ask in the esug mailing-list to see what Smalltalkers thing. I'm all in favor of changing but not for the sake of it.

StephanEggermont commented 9 years ago

It might be better to have discussions on a linked issue, and only name the subjects here.

I'm probably too old to understand why developers should have a problem with ValueHolder. Reactive variables are part of RFP, a subject that 95% of developers have never heard of, and is extremely immature.

The wikipedia article is a bad copy of a page of Martin Fowlers Patterns of Enterprise Application Architecture. Reactive variables is not a subject in wikipedia, RFP is. Marcel Weiher already complains about not using lessons learned in: http://blog.metaobject.com/2014/03/the-siren-call-of-kvo-and-cocoa-bindings.html. Value Holder is a pattern described by Bobby Woolf in 1994 in http://c2.com/ppr/vmodels.html and referred to in much of the pattern literature.

BenjaminVanRyseghem commented 9 years ago

Discussion about NewValueHolder vs ReactiveVariable could be continued here: https://github.com/spec-framework/spec/issues/17