There is no strong convention -- do what you prefer. I would like to
say that there's a convention to at least make Mappers and Reducers
top-level classes. I tend to want to put Mappers and Reducers together
in a subpackage -- I like to use packages freely. But that is a matter
of taste.

On Sun, Apr 10, 2011 at 8:36 PM, Ted Dunning <[email protected]> wrote:
> I don't think that we have a strong convention.
>
> My own philosophy is that the key components of a single program should not
> be scattered across multiple packages unless those components are candidates
> for re-use.  Thus, I tend to put stuff in a single package until groupings
> appear.  To my mind, mappers and reducers are not reasonable things to
> separate since they are not germane to the problem so much as related to the
> underlying mechanism.  As such, I keep them together.
>
> YMMV
>

Reply via email to