Gary Willoughby:

As another dev said a template or mixin can be used for this.

I don't think a template/mixin can replace that sufficiently well, because you also often want to put some code inside the constructor.

Bye,
bearophile

Reply via email to