Yeah, that's pretty much the point I was hoping to illustrate... ;-) We
need to update the AOLserver Style Guide so that it accurately
documents the "actual" style guidelines that are used throughout the
code. Until that happens, it's a good idea to try and follow Jim's
style where possible, as that is the style to which most of the code is
written.

On Feb 24, 2005, at 4:10 PM, Tom Jackson wrote:

On Thursday 24 February 2005 12:55, Nathan Folkman wrote:
 The rule of thumb that I always followed
was to code in the same style as Jim, who himself followed the Tcl
Style Guide.

int
NsTclNHttpObjCmd(ClientData arg, Tcl_Interp *interp, int objc, Tcl_Obj
*CONST objv[])
{
     NsInterp *itPtr = arg;
     Http *httpPtr;
     Tcl_HashEntry *hPtr;


So this doesn't follow either the Tcl Eng Manual, or the AOLserver
guide.

Continuation line isn't indented either 8 chars (Tcl) or to the first
arg
(AOLserver), although maybe the line above was folded by the email
process.

Variable declarations are not lined up as suggested in either
reference (could
be due to a tab in the original):
       NsInterp      *itPtr = arg;
       Http          *httpPtr;
       Tcl_HashEntry *hPtr;
       int            myExtraVar;

tom jackson


-- AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to
<[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the
Subject: field of your email blank.



--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to