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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9b17a1f51a26de9d X-Google-Attributes: gid103376,public From: Stephen Leake Subject: Re: An array of records within an array of records (Still a problem) Date: 1998/05/04 Message-ID: <354DF790.B61E09F7@gsfc.nasa.gov>#1/1 X-Deja-AN: 350164571 Content-Transfer-Encoding: 7bit References: <6ifs4p$fl8@lotho.delphi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA Newsgroups: comp.lang.ada Date: 1998-05-04T00:00:00+00:00 List-Id: tmoran@bix.com wrote: > Some people like to put _type or _t or make a plural for a type name to > distinguish it from a variable name, or perhaps use _array for the type > and _list for the variable, or prefix the variable with The_ or A_, or > whatever. It can be really helpful if you adopt some convention and > then stick to it. And to the extent your programs are to be read by > others, it's good if you and they share the same conventions. > Hoping this thread doesn't turn into another war over which > convention is 'right'. Tom Moran No war needed; _Type is right :) Sorry, I couldn't resist. I use _Type, and I just spent the weekend reading the Ada 95 Booch components, which don't. It was subtly frustrating. It would be nice if we (the Ada community) could agree on a consensus for this issue, as we seem to have on the Capitalization_Of_Multi_Word_Names issue. Maybe if we complete the Ada 95 Booch components, or some equivalent, widely-useful library, that could serve as a basis for consensus. Hmm, a quick glance thru some of the GNAT run-time sources indicates they don't use either _Type or plural for types. Looks like I may end up in the minority :( . -- Stephen Leake