This one bit me today

Doug Gwyn gwyn at smoke.BRL.MIL
Sun Oct 22 08:21:08 AEST 1989


In article <280 at bbxsda.UUCP> scott at bbxsda.UUCP (Scott Amspoker) writes:
>In article <11348 at smoke.BRL.MIL> gwyn at brl.arpa (Doug Gwyn) writes:
>>What is wrong with this [nested comment] "enhancement" is that it is not a
>>transparent extension.  It encourages writing code that looks like C but
>>performs differently from the way C code would.

>You seem to think that, even though it doesn't affect you at all, others
>still should not be allowed to do it because it's not good for them.

No, to take an analogy:  I wouldn't want to encourage smoking, because it's
not healthy, even though so long as it's done in private I wouldn't outlaw
it either.  Supporting nested comments in C constitutes active encouragement
of an unhealthy practice, and I recommend against compiler vendors doing it.



More information about the Comp.lang.c mailing list