O
Oliver Schoenborn
Okay, well thanks a million to all who replied. Basically either
- mixins with dynamic type construction via type(), which I didn't know was
possible
- decorators (seems similar to delegates)
- whatever I can come up with; so far, dynamically adding methods to a
class, this has similar advantages to decoration, but shares one advantage
of mixins, i.e. direct dispatch rather than having to go through a list
Cheers,
Oliver
- mixins with dynamic type construction via type(), which I didn't know was
possible
- decorators (seems similar to delegates)
- whatever I can come up with; so far, dynamically adding methods to a
class, this has similar advantages to decoration, but shares one advantage
of mixins, i.e. direct dispatch rather than having to go through a list
Cheers,
Oliver