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.1 required=5.0 tests=BAYES_00,INVALID_MSGID, TO_NO_BRKTS_PCNT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ea81c3e062ea7ba4,start X-Google-Attributes: gid103376,public From: tmoran@bix.com (Tom Moran) Subject: Actual Ada style: type names and unary + Date: 1998/01/18 Message-ID: <34c177d8.17705498@SantaClara01.news.InterNex.Net>#1/1 X-Deja-AN: 316984821 Organization: InterNex Information Services 1-800-595-3333 Newsgroups: comp.lang.ada Date: 1998-01-18T00:00:00+00:00 List-Id: To get an idea of the style of Ada "as she is spoke", I ran a simple scanner on some of the "software components" source files in the November 1997 Walnut Creek Ada CD (disk 1) looking for the unary + operator and type/subtype identifiers ending in _t, _type, or 's' (but excluding "access", "address", "class", and "status"). It found no instances of unary plus or "_t", nearly 50% use of _type, and about 20% use of (possible) plurals. As a check, I scanned the adainclude directory of Gnat 3.10p1-nt (551 files) and found 3 instances of unary + (all numeric), and almost 1% use of _t. 192 files in 7 .zips in 11/97 Walnut Creek Ada CD 1, ADA\SWCOMPS, selected randomly as the largish zips 0 unary + 377 type declarations 176 _type (in 44/192 files) 0 _t 72 possible plurals as type names (in 25/192 files) The scanner is available if someone would like to scan a larger or more diverse body of code. No warranties, of course.