[Zope3-dev] renaming MementoBags..conclusions?

Martijn Faassen faassen@vet.uu.nl
Mon, 13 May 2002 12:03:04 +0200


Steve Alexander wrote:
> Martijn Faassen wrote:
> >A while ago there was a private discussion concerning a possible
> >renaming of IMementoBag for clarity. The outcome of this discussion
> >seemed to be that 'IMetaData' is a better name for the beast.
> 
> But does a memento-bag only hold meta-data?
>
> I think it can be used to hold a lot more kinds of data besides 
> meta-data of the object it is associated with. In fact, I think it will 
> very rarely be used to hold meta-data of an object it is associated with.
> 
> Or, perhaps there's a less-strict use of the term meta-data that I'm not 
> aware of.

I think that this is the case; at least Jim and Guido seemed to have
this view. But I'd agree with your feelings. 

>   http://www.dictionary.com/search?q=Metadata
> 
> I would not like to confuse the ideas of "associated with an object" and 
> "information about an object or its structure".
> 
> 
> >(Jim and Guido both seemed to favor this to my proposal, IAssociatedData)
> 
> I prefer this spelling because to my ear it more accurately describes 
> the purpose of the thing.

Me too.

> I prefer either name to IMementoBag, as the feature only has a marginal 
> relationship to the memento design pattern, and while it could be used 
> to hold mementos, it can be used for a wider variety of purposes otherwise.

Agreed.

Regards,

Martijn