Class/method organization and package

David Bernard <[email protected]> Thu, 07 Jul 2005 14:54:55 +0200
Newsgroups gmane.comp.lang.nice.general
Message-ID <[email protected]>
Daniel Bonniot wrote:

> Given that there are several possible organisations, it's also a 
> problem to enforce one by the compiler, as the user might prefer 
> another one, equally sensible

You already have do some choice : package pkg1.pkg11 could not be 
located in a directory pkg1.pkg11 (no support of dot in directory name). 
And I think have the following first hirerachy is more quicker to read 
than the second one (it's also the choise of many developper under eclipse):

src/
    pkg1.pkg11/
    pkg1.pkg12/
    pkg2.pkg21/
    pkg3/

src/
    pkg1/
       pkg11/
       pkg12/
    pkg2/
       pkg21/
    pkg3/

-- 
--------------------------------------------------------------
David "Dwayne" Bernard             Freelance Developer (Java)
                                   mailto:[email protected]
      \|/                          http://dwayne.java-fan.com
--o0O @.@ O0o-------------------------------------------------



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click