3 ms·
Good point. But if B.bar accepts an interface that C.t implements, then everything should work just fine and that should be the way to go on public APIs.
by eknkc 11y ago
Good point. But if B.bar accepts an interface that C.t implements, then everything should work just fine and that should be the way to go on public APIs.
- wtetzner 11y agoBut what if the interface is defined in C? The interface has to live somewhere, and wouldn't it be versioned too?