W3C home > Mailing lists > Public > www-lib@w3.org > October to December 1999

Re: Progamming style

From: bobr <bobr@dprc.net>
Date: Sat, 23 Oct 1999 12:12:09 -1000
Message-ID: <381232B8.CFBB5B8C@dprc.net>
To: www-lib@w3.org
CC: Karl-Otto Linn <linn@informatik.fh-wiesbaden.de>
it is a convention for compiling-out out code and comments.

if you literally comment-out a chunk of code with /* ... */
then nested comments within cause trouble in many compilers.



Karl-Otto Linn wrote:

> Hi,
> inspecting the libwww code one can find many time lines like:
> #if 0
> < any code >
> #endif
>
> Is any able to tell me the significance of this coding. Or do I have
> made a mistake in the preparation of the downloaded code? Or is it some
> type commenting things out?
>
> Thanks Karl-Otto
Received on Saturday, 23 October 1999 12:12:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:35 GMT