Am 2014-08-23 um 13:20 schrieb Volker Braun:
> IMHO this will turn out to be a mistake later on. [...]

Ok.

Maybe I'll say a bit mor about my classes. I have a recursive structure
of formal things. There is a MyElementBase as abstract base class, then
there is a MyElementAtom. Moreover, there are MyElementAdd,
MyElementMul, which basically store some operands that are again derived
from MyElementBase. For example,

  MyElementAdd(MyElementAtom, MyElementMul(MyElementAtom, MyElementAtom)

should be a valid element for my parent.

So, what is a good way, to implement this in an Element?

(I thought a while about making the recursive structure a "data
structure" inside the element, but this seems to make an additional
layer, which is not needed. And I would have to make a lot of methods,
which just call the corresponding method of the data structure (and do
nothing else).

Daniel

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to