On Thu, 6 Nov 2014 09:34:17 -0800
Louis Santillan <lpsantil_AT_gmail.com> wrote:
> There is one case where C++ style comment create a useful feature that I
> don't believe C style comments are able to replicate. Some might disagree.
> In a color syntax highlighting editor in a C99 codebase, you can prefix C
> style comments with C++ style comments and get single character feature
> enable/disabling.
>
> //* Remove first / to disable this block
> doSomething();
> //*/
>
> In a color syntax highlighting editor, doSomething(); takes on normal
> highlighting when enabled, and takes on comment colored highlighting when
> disabled.
Is this a joke?
--
FRIGN <dev_AT_frign.de>
Received on Thu Nov 06 2014 - 18:45:26 CET