On Saturday, 8 May 2021 at 18:33:35 UTC, Jack wrote:
```d abstract class DRY : Base { this(int n) { this.n = n; }override int f() { super.doSomething(); return n; } private int n; } ```
You can change that from abstract class to `mixin template`, make Foo and Baa be `interface`, then use `mixin DRY;` inside your child class.
