(Non) Nesting block comments

bearophile bearophileHUGS at lycos.com
Mon Jul 20 14:45:52 PDT 2009


Michiel Helvensteijn:
> I was wondering, though. C++ compatibility aside, is there an actual use
> case for the C style block comments anymore?

C compatibility is an important goal of D, so you can't put it aside.
(Time ago I have suggested the opposite, to make the /* */ nestable and remove /+ +/, but this idea was not appreciated by D devs.)


> (Yes, this is bikeshed stuff, and I don't really care. I like programming
> language syntax discussions. Sometimes they are low barrier discussions.)

:-)

Bye,
bearophile



More information about the Digitalmars-d mailing list