Peter Miller wrote:
> Ob joke: C++ itself is an anti-pattern.
> Now that we have that out of the way....
>
> I pattern I'm seeing a great deal of lately is to define a class (say, a
> GUI application) and then for each device it talks to, use multiple
> inheritance to add the device handling into the application.
>
> That is, a bunch of "has a" relationships masquerading as "is a"
> relationships.

I think this could be a great pattern for proprietary software, but I'd granularize it based on features rather than devices - just declare an application that inherits the features that the client has paid for or that are part of the product sku being built.

Adelle.


_______________________________________________
coders mailing list
coders@slug.org.au
http://lists.slug.org.au/listinfo/coders

Reply via email to