Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site ncoast.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!cwruecmp!atvax!ncoast!bsa From: bsa@ncoast.UUCP (Brandon Allbery) Newsgroups: net.lang.c Subject: Re: Quality programming in c -- a rarity? Message-ID: <594@ncoast.UUCP> Date: Tue, 12-Feb-85 15:36:01 EST Article-I.D.: ncoast.594 Posted: Tue Feb 12 15:36:01 1985 Date-Received: Fri, 15-Feb-85 04:39:24 EST References: <443@decwrl.UUCP> <4541@ucbvax.ARPA> Reply-To: bsa@ncoast.UUCP (Brandon Allbery) Organization: North Coast Programming, Cleveland Lines: 26 Summary: > Article <4541@ucbvax.ARPA>, from kupfer@ucbvax.ARPA (Mike Kupfer) +---------------- | > In other words, if those who write Unix utilities, surely the | > top level of C hackers, routinely write bad code -- maybe some sort | > of restrictions in the language are necessary to help people? | | Restrictions in the language (at least the ones I've seen talked about | in this group) aren't going to force people to comment their code, nor | will it force them to use nice long mnemonic variable names, nor will ---------------------------------^ IDENTIFIER TOO LONG | it keep them from writing 10-page functions (my 3 major complaints | about the Berkeley kernel). PLEASE try to remember that not all of us run Berkeley Unix, and not all of us can *afford* to run Berkeley Unix. Our compiler routinely chokes on long identifiers in Berzerker programs. Long is OK, IF YOU KEEP THEM DISTINCT WITHIN SOME NUMBER OF CHARACTERS -- the minimum being 6, and 7 to be compatible with v7 sites (8, - 1 for the _ prepended by the compiler). Brandon (bsa@ncoast.UUCP) -- Brandon Allbery, decvax!cwruecmp!ncoast!bsa, "ncoast!bsa"@case.csnet (etc.) 6504 Chestnut Road, Independence, Ohio 44131 +1 216 524 1416 (or what have you)