sure but why not just let it return nil if there is nothing to return? nicolas ----- Mail
original -----
De: "Tudor Girba"
<tudor(a)tudorgirba.com>
À: "Moose-related development" <moose-dev(a)iam.unibe.ch>
Envoyé: Mardi 18 Octobre 2011 13:35:14
Objet: [Moose-dev] Re: FAMIXAssociation>>SourceAnchor
Hi,
Indeed, this is because importers did not provide source anchors for
associations. So, we just picked the best approximation for practical
reasons.
The reason for not exporting source anchors for associations is
scalability: associations account for some 70% of the amount of
objects in the model. Adding a source anchor for each of them
increases significantly the size.
Cheers,
Doru
On Tue, Oct 18, 2011 at 1:27 PM, Nicolas Anquetil <
nicolas.anquetil(a)inria.fr > wrote:
FAMIXAssociations being SourcedEntities have a
'sourceAnchor'
instance
variable.
However it redefines the method sourceAnchor :
^ self from sourceAnchor
I am sure there was some good reason to do this, but to me this is
counter intuitive and something should probably be corrected.
(in practice I spent from 11pm to 1am yesterday looking for a bug
that
did not exist :-( )
nicolas
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev --
--
www.tudorgirba.com
"Every thing has its own flow"
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev