Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site lems.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!talcott!wjh12!foxvax1!brunix!lems!rim From: rim@lems.UUCP Newsgroups: net.lang.c Subject: Re: AT&T 7300 C Compiler/variable name lengths Message-ID: <173@lems.UUCP> Date: Sat, 13-Apr-85 12:41:11 EST Article-I.D.: lems.173 Posted: Sat Apr 13 12:41:11 1985 Date-Received: Mon, 15-Apr-85 00:40:45 EST Sender: rim@lems.UUCP Organization: Lems - Brown University, Providence, R.I. U.S.A. Lines: 40 From: rim (Roderick McAllery) > .... In general I have found > that using only 7 character names is safest, ie. guarantees uniqness. > > ...Personally, I would stick to a maximum of 7 chars for a variable > name. I find long names very annoying and subject to typos. Yes this means > more cryptic names, but the solution is to put COMMENTS in your C code. Personally I would rather have clarity than trying to decipher someones cute little acronyms if I had to maintain a piece of code. --- This is one user of C compilers that gets very annoyed at the brain damaged attitude of people who write assemblers that only accept 8 character identifiers. It seems that the 7300 is just another machine that has old type software shuffled onto it. Assemblers written for systems with large address spaces that have symbol tables that cannot handle long identifiers exemplify an attitude that dates back to a time before people were interested in software engineering. Not having used the 7300 I have not had the displeasure to use the assembler in question. However on the basis of its inability to handle long identifiers it seems clear that the persons who were/are responsible for that assembler showed a lack of understanding in designing software that is not restrictive to the user. There is no great trick or mystery in accepting arbitarily long identifiers so why the restriction, especially on AT&T's new 'IBM killer'? -- USnail: Roderick McAllery P.O Box 1216 Brown University Providence 02912 Rhode Island usenet: {decvax,vax135,allegra}!brunix!lems!rim