Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!inuxc!pur-ee!uiucdcs!ccvaxa!aglew From: aglew@ccvaxa.UUCP Newsgroups: net.lang Subject: Re: The Naming of Arrays Message-ID: <800014@ccvaxa> Date: Wed, 4-Jun-86 10:02:00 EDT Article-I.D.: ccvaxa.800014 Posted: Wed Jun 4 10:02:00 1986 Date-Received: Sat, 7-Jun-86 05:18:32 EDT References: <587@tjalk.UUCP> Lines: 20 Nf-ID: #R:tjalk.UUCP:587:ccvaxa:800014:000:656 Nf-From: ccvaxa.UUCP!aglew Jun 4 09:02:00 1986 ~> Dick Grune and the naming of arrays I, too, have been annoyed by how to name arrays. I have found that the best thing to do is to use array names incorporating the singular name of some composite, usually a composite proximate to the intended use. Words that are useful are `list', `table', `collection', `group', and, even, `array'. Although I've never liked naming a thing in terms of its data structure; it seems too LISPish (harold-and-maude-alist). Therefore struct word wordlist[99]; struct word word; word = wordlist[i]; I usually find the same thing goes for types as well - I might use struct wordnode rather than word above.