M
Mantorok Redgormor
I have a question for the sages here.
the comp.lang.c faq says:
20.20: Why don't C comments nest? Are they legal inside quoted
strings?
A: C comments don't nest because PL/I's comments don't either. The
character sequences /* and */ are not special within double-
quoted strings.
so what is the reason for the latter mentioned language
to not nest comments? Was it purely a design choice?
i.e., it wasn't that it was difficult to implement
it was just horribly ugly?
I, myself, wouldn't want nested comments because
it opens doors for allowing unnecessary cluttering
and conflation. But I'm curious as to the actual reason
behind disallowing it.
the comp.lang.c faq says:
20.20: Why don't C comments nest? Are they legal inside quoted
strings?
A: C comments don't nest because PL/I's comments don't either. The
character sequences /* and */ are not special within double-
quoted strings.
so what is the reason for the latter mentioned language
to not nest comments? Was it purely a design choice?
i.e., it wasn't that it was difficult to implement
it was just horribly ugly?
I, myself, wouldn't want nested comments because
it opens doors for allowing unnecessary cluttering
and conflation. But I'm curious as to the actual reason
behind disallowing it.