[Grok-dev] Re: final sprint report - please review my branch!

Martijn Faassen faassen at startifact.com
Tue Apr 8 10:38:34 EDT 2008

Brandon Craig Rhodes wrote:
> But, you're right, it's probably a waste of resources to use
> inheritance to signal something about an object - since inheritance
> imposes all sorts of costs, probably including a performance penalty
> every time a method is called on a Model or Container.

I wouldn't worry about this, and I actually doubt you can measure the 
penalty. Inheritance is here to stay.

> Are you thinking of, instead, introducing a directive with which
> application stacks would mark up their classes as being eligible to be
> automatically detected as adapter contexts?  Maybe grok.autodetect()
> or something?

I actually thought the Context base class was quite nice to do this, 
with a lot more simplicity.



More information about the Grok-dev mailing list