[gmpi] Re: low level API - Abstract Factory summary

  • From: Tim Hockin <thockin@xxxxxxxxxx>
  • To: gmpi@xxxxxxxxxxxxx
  • Date: Wed, 9 Feb 2005 13:09:27 -0800

On Wed, Feb 09, 2005 at 04:06:44PM -0500, Ron Kuper wrote:
> >>>
> All things are not objects.  Sometimes, they really are just functions.
> <<<
> 
> All things _are_ objects.  Functions are what you do to them.
> Nouns/verbs.

Sometimes you make up a noun to have a verb.  Anytime you have a class
whose existence is to hold a method, I question it's validity.  Maybe it's
just my own skew of OO, then.  Any class that ends in "er" is suspect.

FooFrobber
ThingPasser
ObjectMaker
etc.

> In my experience, a naked standalone function is simply a placeholder
> for an underspecified or underdeveloped object.

OK, but really this is moot.  What I was suggesting is that the factor is
moot here because all it does is add a level of indirection to the dll
enumerator function.

----------------------------------------------------------------------
Generalized Music Plugin Interface (GMPI) public discussion list
Participation in this list is contingent upon your abiding by the
following rules:  Please stay on topic.  You are responsible for your own
words.  Please respect your fellow subscribers.  Please do not
redistribute anyone else's words without their permission.

Archive: //www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe

Other related posts: