line comments (## vs. //)
Geoff Kuenning
geoff at desint.UUCP
Mon Nov 19 16:59:41 AEST 1984
In article <423 at kcl-cs.UUCP> lee at kcl-cs.UUCP (Lee McLoughlin) writes:
>>The comment style is the only thing out of Ada I like. I would
>>go for that kind of comment style in C too. The /* other kind of */
>>comment is d*mn inconvenient sometimes too.
>
>I too would like to see a comment style similiar to ada's '--' however a brief
>warning I've seen at least one preprocessor for C (I think it was the Equel
>preprocessor in the Ingres system) which used '##'. But then again just
>about anything chosen runs the risk of clashing with an existing pre-processor.
Somebody clever (sorry, I forgot who) suggested '//' for this a month or two
ago. I think // is visually much nicer than ##, as well as being much
easier to type on reasonable keyboards.
--
Geoff Kuenning
First Systems Corporation
...!ihnp4!trwrb!desint!geoff
More information about the Comp.lang.c
mailing list