Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!brl-tgr!ron From: ron@brl-tgr.ARPA (Ron Natalie) Newsgroups: net.lang.c Subject: Re: C programming style Message-ID: <11515@brl-tgr.ARPA> Date: Thu, 11-Jul-85 17:54:10 EDT Article-I.D.: brl-tgr.11515 Posted: Thu Jul 11 17:54:10 1985 Date-Received: Sat, 13-Jul-85 12:04:18 EDT References: <11434@brl-tgr.ARPA> <303@ur-laser.uucp> Organization: Ballistic Research Lab Lines: 12 > >Maybe "i++" is clearer to you, but do you only write programs for > >yourself? To me "i++" is the kind of statement typical of an APL-type > >language, not a language that is supposed to be structured and easy to > >understand. > i don't know about you but my c compiler generates 3 fewer instructions > and does all of the adding in registers when i user i++ instead of i = i + 1. > -- Oh foo, it ain't all that hard to understand, especially for systems programmers who were the target group the language was written for. It's a very obvious carry over from index mode operations that most assemblers use. -Ron