[Grok-dev] questions about the Martian code
faassen at startifact.com
Thu Dec 18 09:41:10 EST 2008
Brandon Craig Rhodes wrote:
> Martijn Faassen <faassen at startifact.com> writes:
> In the wake
> of that successful experiment, can I also remove the GrokkerBase class
> itself? It looks like martian only uses inheritance from that class to
> mark classes as implementing `IGrokker`, which they could just declare
> that they implement directly.
I'm on the fence. I think that'd be a bit more typing and perhaps
slightly less clear when reading the code.
It's also safeguarding that any subclasses do implement 'grok', but
that's probably not worth it as not subclassing would also safeguard.
More information about the Grok-dev