🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #2225

Re: comment style

#2225
From: Tim Iverson
Date: Thu, 27 Dec 1990 21:58
16 lines
1073 bytes
In article <26036@uflorida.cis.ufl.EDU> jdb@reef.cis.ufl.edu (Brian K. W. Hook) writes:
>I personally like the // commenting style.  Including it would not have been
>a major hassle for the ANSI committee, I beleive.  It is very nice and quite
>quick when it comes to commenting out only one line of code.  No going to
>end of line and adding a */...that gets annoying. [...]

Actually, you don't have to put the closing '*/' on the *end* of the line:

/*	e.g. these lines are commented out /* even if they have comments */
/*	You can also grep for "^/**/" to find where they all are.
/**/

>Brian

- Tim Iverson
  uunet!xstor!iverson
Technical Details
Message-ID: <1990Dec27.215842.23685@ivy.uucp>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!xstor!ivy!iverson
References: <276814F4.141@maccs.dcss.mcmaster.ca> <1990Dec21.014321.5000@kithrup.COM> <26036@uflorida.cis.ufl.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!xstor!ivy!iverson
From: iverson@ivy.uucp (Tim Iverson)
Newsgroups: comp.std.c
Subject: Re: comment style
Message-ID: <1990Dec27.215842.23685@ivy.uucp>
Date: 27 Dec 90 21:58:42 GMT
References: <276814F4.141@maccs.dcss.mcmaster.ca> <1990Dec21.014321.5000@kithrup.COM> <26036@uflorida.cis.ufl.EDU>
Organization: Storage Dimensions, Inc.
Lines: 16