February 04, 2002 Re: {{ nested comment }} | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | New commenting styles are not needed. Simply make /**/ nestable. There is no valid reason not to. There are arguments, but no valid reasons. That comments are not nestable in C is one of C's large number of mindless characteristics. May K&R burn eternally in hell. Walter <walter@digitalmars.com> wrote in message news:a2kr5h$r70$2@digitaldaemon.com... > I've followed all the nested/not nested comment discussions with interest. I > am reluctant to change the meaning of /* */ from C and C++. > > How about a new comment style, > > {{ nested comment }} > > to indicate nested comments? Is it just too lame to have three (3) different > commenting methods in D? > > |
February 05, 2002 Re: {{ nested comment }} | ||||
---|---|---|---|---|
| ||||
Posted in reply to Russell Borogove | Yes to comment out blocks of code without having to put a "/" at the beginning of each line.
Russell Borogove <kaleja@estarcion.com> wrote in message
> My whole point was, at the line level, we _do_ have
>
> nesting comments. Does anyone need nesting comments
> at the character/token level?
|
February 05, 2002 Re: {{ nested comment }} | ||||
---|---|---|---|---|
| ||||
Posted in reply to D | Sorry, I should have said that block comments that nest are required. They are not required at the character/token level. Just at the line level. D <s_nudds@hotmail.com> wrote in message news:a3nmsv$2bdi$1@digitaldaemon.com... > Yes to comment out blocks of code without having to put a "/" at the beginning of each line. > > > Russell Borogove <kaleja@estarcion.com> wrote in message > > My whole point was, at the line level, we _do_ have > > > > nesting comments. Does anyone need nesting comments > > at the character/token level? |
Copyright © 1999-2021 by the D Language Foundation