Re: Subclass? Plugin? Mixin? Monkey Patch?

[email protected] ("David E. Wheeler")
Newsgroups perl.module.build
Message-ID <[email protected]>
On Jun 18, 2008, at 01:57, Eric Wilhelm wrote:

>> so I guess that subclassing isn't
>> necessarily the best way to go.
>
> Do you have enough tuits to dust-off the "plugin architecture" thread?

Link?

How hard can it be? (He asks, ignoring the dragons.)

> Subclassing is not a great way to do mixins by multiple authors,
> especially if the interface is like 'use base qw(foo bar baz)'.

Right, I know.

> And then there's the thing where some features are optional and the
> dependencies aren't necessary for the install (e.g. developer  
> targets.)

Huh? Plugins can be distributed separately, with their own  
dependencies, I'm sure.

Best,

David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.