About coding style

From: Evgeny Kotsuba <evgen__k@dont-contact.us>
Date: Sun, 20 Oct 2002 14:55:06 +0400

Hi,

I want suggest one more bit to coding style (both C and C++):

"Do not use TCP/IP fuctions names as variable names or
class/structures member names"

I try now to use some debugging via using
#define accept DebugAccept
etc.
Everything is work, exept for
#define connect DebugConnect
for example I have
                parse_time_t(&Config.Timeout.connect);
  error EDC3079: "DebugConnect" is not a member of
"SquidConfig::struct {...}".

  
SY,
Evgeny Kotsuba
Received on Sun Oct 20 2002 - 04:55:26 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:16:57 MST