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!n8g2000vbb.googlegroups.com!not-for-mail From: sjw Newsgroups: comp.lang.ada Subject: Re: newbie problem Date: Wed, 13 May 2009 12:45:28 -0700 (PDT) Organization: http://groups.google.com Message-ID: <55f3f892-f21c-4247-85fd-d8ded4092345@n8g2000vbb.googlegroups.com> References: <4a0ad646$0$2854$ba620e4c@news.skynet.be> <4a0b0aa2$0$2846$ba620e4c@news.skynet.be> <5e500136-c9a5-4fca-8e7c-63d5bd09cb71@o20g2000vbh.googlegroups.com> 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 1242243928 7841 127.0.0.1 (13 May 2009 19:45:28 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 13 May 2009 19:45:28 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: n8g2000vbb.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:5825 Date: 2009-05-13T12:45:28-07:00 List-Id: On May 13, 7:51=A0pm, Martin wrote: > Stylistically, why isn't the package called 'ALS' and then you could > remove the tautological 'Als_' everywhere? Perhaps a root package of > 'Audio' and a child package of 'Audio.ALS' - that way you could expand > to support other audio file formats 'Audio.mp3', 'Audio.Wav', etc. I would be quite happy with adasound (well, reasonably happy -- I can tell it's written in Ada, or is there a special kind of sound called adasound that's different from other kinds?) but one thing I wouldn't have done is prefix things with als_. Look at the way the Ada.*_IO packages work -- File_Type (eeew), Create, Write. Close. F : Adasound.File_Type; begin Adasound.Create (F, "test.als");