From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4200259190b16e16 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-12-03 10:16:26 PST Path: archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!news-out.visi.com!petbe.visi.com!newspeer.monmouth.com!logbridge.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Visibility problems with package instantiations..... Date: 03 Dec 2003 13:09:25 -0500 Organization: NASA Goddard Space Flight Center (skates.gsfc.nasa.gov) Message-ID: References: <95234e08.0311270742.631b1228@posting.google.com> <349csv0udb5k0kuk0q99d7tm7fh5leuefu@4ax.com> <95234e08.0311280323.7a5bb870@posting.google.com> <95234e08.0311302345.4f9e235b@posting.google.com> NNTP-Posting-Host: shevek.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1070475243 22967 128.183.235.101 (3 Dec 2003 18:14:03 GMT) X-Complaints-To: usenet@news.gsfc.nasa.gov NNTP-Posting-Date: 3 Dec 2003 18:14:03 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Xref: archiver1.google.com comp.lang.ada:3103 Date: 2003-12-03T18:14:03+00:00 List-Id: Dmitry A. Kazakov writes: > On 02 Dec 2003 11:20:08 -0500, Stephen Leake > wrote: > > >Dmitry A. Kazakov writes: > > > >> On 01 Dec 2003 11:31:19 -0500, Stephen Leake > >> wrote: > >> > >> >Dmitry A. Kazakov writes: > >> > > >> >> On 30 Nov 2003 23:45:51 -0800, petter.fryklund@atero.se (Petter > >> >> Fryklund) wrote: > >> > > >> >> >Our CM policy > >> >> >also dictates a directory structure with every unit in it's own branch > >> >> >leading to a large tree. > >> >> > >> >> It is a reasonable policy. > >> > > >> >Maybe for Java, which requires that directory structure anyway. > >> > > >> >But for Ada, which has a good way to name files that indicates the > >> >package heirarchy, directories should be used for even higher level > >> >organization, like projects. > >> > >> For a small or medium sized project one can indeed pack everything in > >> one directory. With hundreds of files it becomes rather difficult. > > > >Why? I don't have a problem with 280 files on Windows 2000. What sorts > >of problems do you run into? > > To find a file in that huge directory. How does having multiple directories make that easier? > Note also that a nested package of level 5 could have name like: > > fuzzy.graph.handle.learning.implementation.ads > > It becomes a pain to navigate across this directory. It is difficult > for human eye to recognize a postfix of a long name. Hmm. In emacs, I pull up the whole directory, then search in the buffer. But actually, to navigate Ada source, I don't tend to use file names; I use Ada names, and let Emacs figure out where the files are. > So one have to separate files in some way. One possible way is to > mimic the package tree. It is a reasonable way, but not the only > one. File names that mimic the package tree are better than directories that mimic the package tree, in my opinion. I haven't heard any solid evidence here to contradict that. -- -- Stephe