On Thursday, 8 November 2012 at 21:43:32 UTC, Max Klyga wrote:
Dinamic polimorphism isn't gone anywhere, it was just shifted to delegates.

But there's no restrictive type hierarchy that causes unnecessary coupling. Also, compared to virtual functions, there's no overhead from the vtable lookup. Shape doesn't need to search for the correct member function pointer, it already has it.

It's either that, or else I've misunderstood how virtual functions work.

Reply via email to