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,60e2922351e0e780 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-03 14:04:15 PST Message-ID: <3FA6D0DA.5C452F6A@fakeaddress.nil> Date: Mon, 03 Nov 2003 23:04:10 +0100 From: Gautier Write-only X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Clause "with and use" References: <3FA2CDCB.500F4AF0@fakeaddress.nil> <3FA3B412.AF3BEB96@fakeaddress.nil> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 80.218.90.97 X-Trace: news.swissonline.ch 1067897055 80.218.90.97 (3 Nov 2003 23:04:15 +0200) X-Complaints-To: abuse@swissonline.ch Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.mailgate.org!news-zh.switch.ch!switch.ch!news.swissonline.ch!not-for-mail Xref: archiver1.google.com comp.lang.ada:2011 Date: 2003-11-03T23:04:10+01:00 List-Id: # > If you wanted to discourage writing bad programs in that optic, you should # > suppress the use_clause as a context_clause (for the non-Manual maniaks, # > these are clauses before "procedure" or "package"). # > The with_and_use_clause won't add any facility, but will reduce typing. Pascal: # Which is not what is important. I don't think that the language will be # changed just to "reduce typing". Why not ? Several changes from Ada 83 to Ada 95 could be described as a pure keystroke reduction that improves readability, so it's not impossible that the language could change again in that direction. Is such a change worth the effort, although not bringing a new feature ? I think so. A newcomer to Ada (who can be an experienced programmer, tempted to start a development in his small business, or a scientist, or...) will have to begin his prototypes with this bureaucratic aspect. The first question will be "if there is such a thing in the first step, will it be all the way so ?". This stupid redundancy problem is hurdle I have observed in initiating people to Ada. After that, those who have passed begin to enjoy the modularity, attributes, range checks, portability and all goodies that are so well done in Ada. To sum up, this proposal is *technically* of no importance, but IMHO a *darwinian* sense (survival / growth of Ada), and also for readability, quite important. ________________________________________________________ Gautier -- http://www.mysunrise.ch/users/gdm/gsoft.htm NB: For a direct answer, e-mail address on the Web site!