🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #2283

Re: comment style

#2283
From: Tom Jaskiewicz
Date: Sat, 12 Jan 1991 01:44
24 lines
1211 bytes
In article <10852@darkstar.ucsc.edu> funkstr@ucscb.UCSC.EDU (Larry Hastings) writes:
>This makes this example somewhat less compelling -- if you had a program
>which was legal both ways and produced different output, I'd be more
>inclined to agree.  (I can't come up with such an example -- does anyone have
>one?)

Ok...  How about this:


int foo(int a, int b)
{
	return a
//* what kind of comment is this? */	2
//* what kind of comment is this? */
		-b;
}


Not that I normally write code that looks like that.
-- 
##########################################################################
# The doctrine of nonresistance against arbitrary power, and oppression is
# absurd, slavish, and destructive of the good and happiness of mankind.
#   -- Article 10, Part First, Constitution of New Hampshire
Technical Details
Message-ID: <4427@alliant.Alliant.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!xylogics!merk!alliant!tj
References: <4423@alliant.Alliant.COM> <10852@darkstar.ucsc.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!xylogics!merk!alliant!tj
From: tj@Alliant.COM (Tom Jaskiewicz)
Newsgroups: comp.std.c
Subject: Re: comment style
Message-ID: <4427@alliant.Alliant.COM>
Date: 12 Jan 91 01:44:49 GMT
References: <4423@alliant.Alliant.COM> <10852@darkstar.ucsc.edu>
Organization: Alliant Computer Systems Corp.
Lines: 24