I do much the same as Brian described, essentially I just try to keep everything clearly understandable - it is easy for things to get muddled with a lot of modules if it is not clear from their names what they do.
Beyond that, I tend to think of it in terms of features, so that a single feature could be removed simply if so required. In that context, your example of a separate ImapEmailModule is a good one - one day you may decide just not to support that any more. On Saturday, 15 November 2014 18:31:11 UTC, Chris Malloy wrote: > > Ok, that makes sense. I've been thinking about this more. For each module > you are essentially binding a set of interfaces to a set of > implementations. So if you have an e-mail interface and an implementation > that you rolled yourself you may call it EmailModule. But if there is > something special about the implementation, like it uses imap instead of > pop, you would name it ImapEmailModule. > > On Saturday, 15 November 2014 13:16:36 UTC-4, Brian Pontarelli wrote: >> >> I use a module per package or logical unit. My names are things like: >> >> EmailModule >> ConverterModule >> ParameterModule >> WorkflowModule >> DomainModule >> RequestModule >> ModerationServicesModule >> >> I also use aggregate modules that only install other modules: >> >> MVCModule installs ConveterModule, ParameterModule, RequestModule, etc. >> >> -- Brian >> >> Sent from my iPhone >> >> On Nov 15, 2014, at 9:15 AM, Chris Malloy <[email protected]> wrote: >> >> Hi, absolute beginner here. >> >> What do you guys typically name your modules? MyModule just seems yucky >> to me. >> >> Also, can you explain the thought process you use to pick good names? Do >> you create modules for logical chunks and combine them later? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "google-guice" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/google-guice. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/google-guice/e983cc55-e492-489b-8c76-01448257773e%40googlegroups.com >> >> <https://groups.google.com/d/msgid/google-guice/e983cc55-e492-489b-8c76-01448257773e%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> >> -- You received this message because you are subscribed to the Google Groups "google-guice" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-guice. To view this discussion on the web visit https://groups.google.com/d/msgid/google-guice/f66e408a-cdf1-4b07-ae06-fb1fedea31c6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
