[Grok-dev] concerns about grokcore.component.provides

Gary Poster gary.poster at gmail.com
Wed Sep 9 11:30:21 EDT 2009


On Sep 9, 2009, at 10:33 AM, Leonardo Rochael Almeida wrote:

> Hi,
>
> IMO, Adapters are one compliated beast, semantically speaking.

I agree 100%.  I want the term to go away, actually.  I'll save the  
speech for another time (heh, literally--I talked about this at OSCON,  
a local ZPUG, and might write an article that touches on it), but I  
agree with a lot of your other points too.

That said, since I don't like the term "adapter" to begin with  
anymore, I prefer Martijn's "creates" proposal.

You could even turn part of your idea around, though you are left with  
the awkward "from_," so that you could use

@creates(IFoo, from_=IBar)

So, as I said to Martijn, I think your idea is theoretically more  
correct, but goes against some of the ideas I've had lately stemming  
from my issues with "adapters".

Looks like he had some interesting replies too...

Gary

Gary


More information about the Grok-dev mailing list