[Goodies-dev] // One-Line Comments

Mark Trompell mark at foresightlinux.org
Mon Jan 5 10:13:52 CET 2009


On Tue, Dec 30, 2008 at 8:24 PM, Kok, Auke <sofar at foo-projects.org> wrote:
> David Collins wrote:
>> Does anyone object to one-line comments in Goodies C code?   eg.   //
>> this is a short comment
>> (I think that gcc might have supported this since about 2001?)
>
> generally, '//' comments are used for c++ code, and since most of the xfce code
> isn't c++, I would abstain from using that comment style. But it really depends on
> what the rest of the code looks like...

AFAIK // comments are part of C99

> Cheers,
>
> Auke

Mark

-- 
Mark Trompell

Foresight Linux Xfce Edition
Cause your desktop should be freaking cool
(and Xfce)



More information about the Goodies-dev mailing list