2 Comments

Could you explain why this is better than virtual methods? In the end you’re still referencing the implementation through a pointer, hence introducing the same level of indirection

Expand full comment