[auton-users] New gcc problems
agray at cs.cmu.edu
agray at cs.cmu.edu
Mon Jul 22 18:48:45 EDT 2002
Hmm, I hate to be a thorn but...
1. I like mid-code declarations because they increase code clarity
as well as locality, which can allow better code optimization (ie. SPEED).
I believe that localizing variables is a good programming habit in general,
up to the limit supported by the parser.
2. I like // comments because they remove extraneous characters and
make my code more visually compressible in some cases - which I claim
helps the readability of complex algorithms, at least for me. (Much
less important than mid-code declarations though.)
Of course if these departures from the classic K&R or pre-1999 ANSI C
have a real cost for the general portability of Auton code, that would
take priority I would say. (Note that I am not a C++-head, for
portability and other pragmatic reasons.)
Alex
_______________________________________________________
Alexander G. Gray http://www.cs.cmu.edu/~agray
CMU Computer Science office 412-268-3070 9-9pm EST
More information about the Autonlab-users
mailing list