Apache Mod-Python - A Styling note [was Re: session handling - the next generation]

This is Interesting: Free IT Magazines  
Home > Archive > Apache Mod-Python > June 2005 > A Styling note [was Re: session handling - the next generation]





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author A Styling note [was Re: session handling - the next generation]
Gregory (Grisha) Trubetskoy

2005-06-13, 5:46 pm



On Sun, 12 Jun 2005, Jim Gallacher wrote:

> PyObject *m; // session module



If I'm not mistaken, the // comments are not strictly C-compliant, we
should stay away from them.

Generally, we should try our best to adhere to this:

http://httpd.apache.org/dev/styleguide.html

I know mod_python isn't 100% compliant, but there is no reason to make it
even more non-compliant :-)

Grisha

Jim Gallacher

2005-06-13, 5:46 pm

I shall comply.

I would have redacted them from the final version anyway. I hate
comments on variables - if I need a comment I should just have better
variable name in the first place.

Regards,
Jim

Gregory (Grisha) Trubetskoy wrote:
>
>
> On Sun, 12 Jun 2005, Jim Gallacher wrote:
>
>
>
>
> If I'm not mistaken, the // comments are not strictly C-compliant, we
> should stay away from them.
>
> Generally, we should try our best to adhere to this:
>
> http://httpd.apache.org/dev/styleguide.html
>
> I know mod_python isn't 100% compliant, but there is no reason to make
> it even more non-compliant :-)
>
> Grisha
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com