Skip to content

Instantly share code, notes, and snippets.

@kkozmic
Created September 30, 2010 04:36
Show Gist options
  • Save kkozmic/604033 to your computer and use it in GitHub Desktop.
Save kkozmic/604033 to your computer and use it in GitHub Desktop.
public interface IFoo
{
void Foo();
}
public class Base:IFoo
{
public void Foo()
{
}
}
public class Inherited: Base,
IFoo // <-- why/when would you want to do it?
{
}
@augi
Copy link

augi commented Mar 11, 2011

Yes, this is design smell and I would never use them. I wrote just technical reason why someone would want to do it :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment