[Grok-dev] questions about the Martian code

Brandon Craig Rhodes brandon at rhodesmill.org
Tue Dec 16 23:09:25 EST 2008


I am learning more about martian so that I can write good docstrings for
Grok's own meta.py, and had two quick questions about martian's
components.py:

 - I cannot quite see the reason for the ComponentGrokkerBase class.  It
   would seem simpler for the ClassGrokker and InstanceGrokker to just
   inherit directly from GrokkerBase, and each declare separately that
   they implement IComponentGrokker.

 - Should GlobalGrokker be named ModuleGrokker instead, since that seems
   to be the sort of object for which its grok() method will be called?

-- 
Brandon Craig Rhodes   brandon at rhodesmill.org   http://rhodesmill.org/brandon


More information about the Grok-dev mailing list