dragonwell
Programmer
I'm at the point where I've nearly completed a project whose core functionality revolves around an interface. It is becoming more and more apparent that in most cases it will only make sense to implement some of the methods in the interface, and just leave stubs for the remaining methods. This makes me almost wish that I had used an abstract base class instead, with default behaviors (that do nothing) for the methods, so that concrete classes do not have to implement them.
So I would like to know if anyone has experience with this issue as to whether it will pay off in the long run to keep the interface, or will converting to an abstract base class now save me headaches in the future.
Thanks
So I would like to know if anyone has experience with this issue as to whether it will pay off in the long run to keep the interface, or will converting to an abstract base class now save me headaches in the future.
Thanks