🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #2215

Re: comment style

#2215
From: Brian K. W. Hook
Date: Fri, 21 Dec 1990 03:22
11 lines
1026 bytes
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.  for large blocks of code,
I prefer the /* */ combination, and I also prefer it for "real" comments,
ie. permanent programmer-programmer comments, not just temporarily stopping
the compilation of a routine.

By the way, // is supported by TC++ even when it is in .C compile mode only.

Brian
Technical Details
Message-ID: <26036@uflorida.cis.ufl.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!rex!uflorida!reef.cis.ufl.edu!jdb
References: <276814F4.141@maccs.dcss.mcmaster.ca> <1990Dec21.014321.5000@kithrup.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!rex!uflorida!reef.cis.ufl.edu!jdb
From: jdb@reef.cis.ufl.edu (Brian K. W. Hook)
Newsgroups: comp.std.c
Subject: Re: comment style
Message-ID: <26036@uflorida.cis.ufl.EDU>
Date: 21 Dec 90 03:22:03 GMT
References: <276814F4.141@maccs.dcss.mcmaster.ca> <1990Dec21.014321.5000@kithrup.COM>
Sender: news@uflorida.cis.ufl.EDU
Organization: UF CIS Dept.
Lines: 11