8 ms·
It's a good practice to make the base class abstract. With that in mind, this pattern cleanly maps onto a trait with default implementations for methods plus s
by Kinrany 5y ago
It's a good practice to make the base class abstract.
With that in mind, this pattern cleanly maps onto a trait with default implementations for methods plus several structs that implement the trait.