bearophile wrote:
BCS:
you spotted the issue, code porting and principle of least surprise<

- Code porting: If you port C code to D, it uses /* */ in a non nested way

No. This is valid C:

/* comment /* more comment */

- The principle of least surprise: a C programmer doesn't nest them.

Nesting occurs often when various portions of code are commented.

- Complexity: every syntactic bit removed from the D language is a gain.

I guess I agree with this.

So I'm for the removal of /+ +/ and making /* */ nestable.

This can't work.


Andrei

Reply via email to