commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: classpath ./ChangeLog java/util/AbstractMap.jav...


From: Brian Jones
Subject: Re: classpath ./ChangeLog java/util/AbstractMap.jav...
Date: 20 Feb 2002 20:47:39 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

Bryce McKinlay <address@hidden> writes:

> Eric Blake wrote:
> 
> >Isn't the point of the gnu.java.* tree to hold the implementation and
> > helper classes not publicly specified?
> 
> Yes, but it is its often not possible to put helper classes in a
> different package, because they will often require package-private
> access to the classes which they are "helping". I think it is pretty
> ugly to have private classes segregated into different packages,
> except for the APIs which are clearly designed to separate interface
> from implementation.

I pretty much agree with Bryce, it does not hurt the public API and it
keeps related classes together to use non-public classes in some
packages.  It's pretty good design to make it such that classes within
a package rely very little on classes outside the package.  The
opposite makes managing the resultant code difficult, not to mention
more fragile.
 
-- 
Brian Jones <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]