Magritte Validation Error
renggli at iam.unibe.ch
Tue Nov 29 22:20:18 MET 2005
>> How about #descriptions which is a common naming for
>> collections of anything ?
I don't like this, because you don't get a collection of single
descriptions, but a container of descriptions that is a description
(singular) itself (and accidently responds to the collection protocol).
> with it, but I really do feel it should be a conversion method. When
> you want a component, you say anObject asComponent, when you want a
> description, why not anObject asDescription? The description isn't a
> property of the object, it's a different representation of it, a meta
It is definitely not a conversion method, the resulting description
is completely independent from the receiver of the message: it can be
recomposed, reused with or without any other model instance. What is
more, have you ever seen an #asClass conversion method to ask your
instance for its meta-representation (#class)?
More information about the SmallWiki