Re: [xml] VC6, STL and VALID.H header error during compilation



Daniel Veillard wrote:

  _list doesn't look good, _ has the implicit meaning of being restricted
in access (like for python). I used a name more in context.

There is an even better reason for not using variable names with a
leading underscore -- such names are reserved for future use by the C
standard (e.g. see C99 section 7.1.1).

The following links (unfortunately no longer maintained) give a good
overview of which names to avoid:

http://web.archive.org/web/20040209031039/http://oakroadsystems.com/tech/c-predef.htm
http://web.archive.org/web/20040209032837/http://oakroadsystems.com/tech/cppredef.htm



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]