Tagged Questions
2
votes
1answer
148 views
Using partially implemented interfaces
Consider the following hierarchy in C++ notation:
class A
{
public:
virtual void doStuff()=0;
virtual void doOtherStuff()=0;
};
class B:public A
{
public:
...
0
votes
1answer
54 views
Would it make sense to add parameters of an inferred type to inheritance?
I'll write this in PHP (where this thought originated), but this is generic to any object-orientated language. Basically, this is an addition to abstract classes that defines the implementation of its ...