Class names in java.lang.Module

Peter Levart peter.levart at gmail.com
Wed Sep 21 20:44:29 UTC 2016


This would only make sense if it was likely to have to deal with two
Configuration classes in the same source file. How likely is that? OTOH,
short names make code easier to read.

Just my 2c.

Regards, Peter

On Sep 21, 2016 8:19 AM, "Stephen Colebourne" <scolebourne at joda.org> wrote:

> I had the same thought while watching the slides. Configuration is
> certainly a class name that exists other places, and would benefit
> from being ModuleConfiguration. Layer is less common, so not worried
> so much. Exceptions with "Module" in the name like
> ModuleNotFoundException would also be clearer.
> Stephen
>
> On 21 September 2016 at 03:36, Kasper Nielsen <kasperni at gmail.com> wrote:
> > Hi,
> >
> > I was wondering if there are any reasons for why these 3 classes in
> > java.lang.Module
> >
> > Configuration
> > FindException
> > ResolutionException
> >
> > Does not include the name Module?
> > I especially am not to fond of the very generic Configuration name in my
> > source code would much prefer something like ModuleConfiguration.
> >
> > Best
> >   Kasper
>


More information about the jigsaw-dev mailing list