Michael, Just a few comments:
1. You really should use a consistent naming convention -- either call the decorators blockingProducer and transformGenComponent or BlockingProducer and TransformGenComponent. 2. What are these decorators supposed to do, exactly? When would I use one over the other? Adding some descriptive docstrings would go a long way. 3. Why did you choose to return a factory function for a single class for blockingProducer, but return a dynamically generated class for TransformGenComponent? Thanks, Nathan Davis On Sun, Oct 4, 2009 at 1:29 PM, Michael Sparks <[email protected]> wrote: > > On Sunday 04 October 2009 19:21:19 Michael Sparks wrote: > ... > > They're currently highly experimental, and located here: > > > http://code.google.com/p/kamaelia/source/browse/trunk/Sketches/MPS/decorato > >rs.py > > > > so I'm skipping those imports :-) > > > > Anyway, code: > > I've shifted a copy of the code here: > > > http://code.google.com/p/kamaelia/source/browse/trunk/Sketches/MPS/AxonDecorators/decorators.py > > http://code.google.com/p/kamaelia/source/browse/trunk/Sketches/MPS/AxonDecorators/example.py > > Which may make it clearer. Especially the second of these. Changed subject > line in case it helps flag what I'm hoping for from anyone willing to give > feedback. > > Many thanks to anyone willing to reply in advance, > > > Michael. > -- > http://yeoldeclue.com/blog > http://twitter.com/kamaelian > http://www.kamaelia.org/Home > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "kamaelia" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/kamaelia?hl=en -~----------~----~----~----~------~----~------~--~---
