Subject: Code guidelines, state of C++ compilers used, and
general C++ comments From: Mike Nordell
(firstname.lastname@example.org) Date: Mon May 08 2000 -
20:17:57 CDT After reading AbiSourceCodeGuidelines.abw I got
some Ideas and thoughts that I'd like to share with you to
hopefully start a discussion on these 1. Prefix 'i' usually
denotes an index in HN, why 'n' (both as the mathematical
integer representation, and it's the first letter of 'number')
should be used as the general integer prefix. Prefix 'i' should
be used for indexes. 'sz' for zero temrinated strings (i.e. C
strings). 4. Add: If you do use C++, prefer C++ style comments
(//). 7. "Don't put platform specifics in XP code". This one
should be obvious, but I've found one place where an MSC #pragma
is used in XP code (to suppress a compiler warning). This is
clearly wrong, but how should this 8. Add: Loop indexes can use
'int' if it's beyond all dubt that the index range will not
overflow on any of the supported platforms. Q: Is anyone
using/awar