freepooma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [pooma-dev] Domain traits


From: James Crotinger
Subject: RE: [pooma-dev] Domain traits
Date: Wed, 11 Apr 2001 12:32:26 -0700

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]