A question of commas

parke at galaxy.enet.dec.com parke at galaxy.enet.dec.com
Fri Dec 8 09:33:48 AEST 1989


In article <1989Dec7.192215.27671 at aqdata.uucp>, sullivan at aqdata.uucp
(Michael T. Sullivan) writes:
> From article <257E97F4.24962 at ateng.com>, by chip at 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



More information about the Comp.lang.c mailing list