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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,6b1bfc6ba4e8ada X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!x6g2000vbg.googlegroups.com!not-for-mail From: sjw Newsgroups: comp.lang.ada Subject: Re: newbie problem Date: Thu, 14 May 2009 12:41:05 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <4a0ad646$0$2854$ba620e4c@news.skynet.be> <4a0b0aa2$0$2846$ba620e4c@news.skynet.be> <5e500136-c9a5-4fca-8e7c-63d5bd09cb71@o20g2000vbh.googlegroups.com> <4a0b241c$0$2846$ba620e4c@news.skynet.be> NNTP-Posting-Host: 82.20.239.89 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1242330066 14626 127.0.0.1 (14 May 2009 19:41:06 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 14 May 2009 19:41:06 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: x6g2000vbg.googlegroups.com; posting-host=82.20.239.89; posting-account=_RXWmAoAAADQS3ojtLFDmTNJCT0N2R4U User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:5848 Date: 2009-05-14T12:41:05-07:00 List-Id: On May 13, 8:48=A0pm, Olivier Scalbert wrote: > But I do not know how to organize the files hierarchy ... Should I > create child directories for child packages ? No, not necessary, not in the first instance. Compilers (well, GNAT) will be quite happy with audio.ads audio-als.ads audio-als.adb audio-mp3.ads audio-mp3.adb in the same directory. What you won't get away with is needing more than one version of the same file in the same directory: you might need audio-aac.ads macos/audio-aac.adb windows/audio-aac.adb at which point you need to control which variant the compiler gets to see, depending on the environment. But I think that's a topic for a different discussion! > Also for the _T, I have not a lot of ideas. All day long I am using case > sensitive languages. So I can have for ex: > File file ...; Which is not possible in Ada > File aFile ..; Which gives A_File: File; which is not very nice ... > File outputFife ...; Which gives: Output_File: File; Mmmn this one is > nice !! We proposed a (joke) coding standard that the length of a name should be log-base-2 the length of its scope in lines. So I might be quite happy with Output : File_Type; for example. Depends whether you have anything else that might be confused with it.