Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!purdue!haven!decuac!shlump.nac.dec.com!galaxy.enet.dec.com!parke From: parke@galaxy.enet.dec.com Newsgroups: comp.lang.c Subject: Re: A question of commas Message-ID: <6707@shlump.nac.dec.com> Date: 7 Dec 89 22:33:48 GMT References: <1989Dec7.192215.27671@aqdata.uucp> <257E97F4.24962@ateng.com> Sender: newsdaemon@shlump.nac.dec.com Reply-To: parke@galaxy.enet.dec.com () Organization: Digital Equipment Corp. Lines: 16 In article <1989Dec7.192215.27671@aqdata.uucp>, sullivan@aqdata.uucp (Michael T. Sullivan) writes: > From article <257E97F4.24962@ateng.com>, by chip@ateng.com (Chip Salzenberg): > > > > For example, "i = i + 1" is inherently harder to read than "i++", since the > > But more programmers (BASIC, pascal, etc.) use "i = i + 1", and using "i++" > assumes future programmers working with the code know C. Obviously, the > first choice is the correct choice :-|. > -- Not to mention the fact that i++ is dependent on what i is (though in C so is +1 (which might be 1,2,4,8... )) }8-)} Bill