[pooma-dev] Domain traits

James Crotinger JimC at proximation.com
Wed Apr 11 19:32:26 UTC 2001


The main motivation here is not to clean up the design of Domains.
It is to avoid unnecessary duplication of static traits data in both Domains
and DomainTraits, given the necessary evil of a DomainTraits class.
I guess that's one of the main things I hate about DomainTraits - why all
the duplication? To me, the right way to have done this would have been for
the default traits template to get all of its traits from the actual class
(not the other way around, as it is now, which creates some very strange
circular and cross dependencies), and then there would only be
specializations for not Pooma/src/Domain classes, things like int. 
Anyway, my 2 cents is to leave the traits in the class. 
	Jim

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/pooma-dev/attachments/20010411/eca54e1d/attachment.html>


More information about the pooma-dev mailing list