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,46295b30ce38047c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-12-05 01:05:47 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news-feed.riddles.org.uk!news-peer.gradwell.net!not-for-mail Newsgroups: comp.lang.ada From: porton@ex-code.com (Victor Porton) Date: Thu, 05 Dec 2002 13:43:39 +0500 References: Organization: Extreme Code Software (http://ex-code.com) Subject: Re: Ada Configuration API for Unix and Windows MIME-Version: 1.0 X-Newsreader: knews 1.0b.1 Content-Type: text/plain; charset=us-ascii X-URL: http://www.ex-code.com/ Message-ID: <3def16ea$0$300$bed64819@news.gradwell.net> NNTP-Posting-Date: 05 Dec 2002 09:05:46 GMT NNTP-Posting-Host: 195.149.39.13 X-Trace: 1039079146 news.gradwell.net 300 mail2news/195.149.39.13 X-Complaints-To: news-abuse@gradwell.net Xref: archiver1.google.com comp.lang.ada:31456 Date: 2002-12-05T09:05:46+00:00 List-Id: In article <903lsa-l91.ln@uli.uli-eckhardt.de>, Ulrich Eckhardt writes: > Stephen Leake wrote: >> Ulrich Eckhardt writes: > ak : Constant r_key := To_Key("A_Key"); > as : Constant r_section := To_Section("A_Section"); Well, better Key_Type("A_Key") and Section_Type("A_Section"), it is less confusing and error-prone (no overloaded functions) as is straight usage of type conversions, not anti-intuitive (as shown by previous discussion) functions.