- Person A makes defclass class-A
- Person B does defclass class-B (class-A)
- Now person adds something: defclass class-A+ (class-A)
- Person C wants his class-C, but he wasn't stuff from class-A+ and class-B, will defclass class-C (class-B class-A+) work properly, only including A once?
This has kindah irked me a bunch in using classes.
One could take another approach at classes, seeing changes of these as functions. B= A Badds, A+ = A A+adds, C wants C=A Badds A+adds, maybe classes should have been the variables, and one would derive from a class by making a 'class-function'(the adds) and operating on it. I don't know enough category theory.. Were CLOS/metaobject makers (sufficiently) cognizant category theory?
On the other hand, if defclass class-C (class-B class-A+) works just properly and produces no wtfs then there is no problem.
Edit: Reading this there shouldn't be a problem with this specifically; everything derives from standard-object already.
However, what of the problem when you want to features of two, but not to copy of the data contained.