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,45b47ecb995e7a3 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-08-03 12:45:38 PST Path: archiver1.google.com!news2.google.com!postnews1.google.com!not-for-mail From: dewar@gnat.com (Robert Dewar) Newsgroups: comp.lang.ada Subject: Re: Ada Idioms Progress Preview Date: 3 Aug 2001 12:45:38 -0700 Organization: http://groups.google.com/ Message-ID: <5ee5b646.0108031145.1306c91@posting.google.com> References: <3B6A2616.C89C9760@worldnet.att.net> NNTP-Posting-Host: 205.232.38.244 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 996867938 7376 127.0.0.1 (3 Aug 2001 19:45:38 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 3 Aug 2001 19:45:38 GMT Xref: archiver1.google.com comp.lang.ada:11258 Date: 2001-08-03T19:45:38+00:00 List-Id: James Rogers wrote in message news:<3B6A2616.C89C9760@worldnet.att.net>... > I have posted a VERY early version of the Ada idioms page at > http://home.att.net/~jimmaureenrogers/index.html > > I have started at a beginner level. I will progress to more advanced > idioms. > > Jim Rogers > Colorado Springs, Colorado USA To me this is not a list of idioms, but rather a tutorial of Ada features. That may have its own merits, but a list of real idioms would be separately useful. If there is a feature X in Ada that does Y, then saying that X is an idiom for Y is not very helpful. To me an idiom is a combination of features that is not so obvious, e.g. the following for labeling branches of cases when XYZ => XYZ_Case : declare declarations begin ... end XYZ_Case; or the use of declare blocks to get local suppression declare pragma Suppress (...) begin ... end; or the use of pragma Import to suppress initialization when an address clause is present.