multiple extensions to a class

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,202
Messages
2,571,057
Members
47,662
Latest member
salsusa

Latest Threads

Top