gelbeiche wrote:
> I'm curious if other programmer use special
> name conventions for interface classes in
> their projects.
> In a line like the following
>
> class A : public XXX_IF, public YYY_IF {
>
> I can see that multiple inheritance is on
> the agenda but at the same time I see:
> Ok, class A only implements the interfaces.
>
> I think the line
>
> class A : public XXX, public YYY {
>
> would be not so clear.
We don't use special conventions. We use comments.
// merging two abstract classes into another
class A : public XXX, public YYY {
...
And, of course, we don't have names like 'A' or 'XXX' or 'YYY'...
V
|