On 2010-02-08 14:20-0800 Alan W. Irwin wrote:

> On 2010-01-22 08:39+0100 Arjen Markus wrote:
>
>> Hi Alan,
>>
>> I have so far been using the /* ... */ for most, if not all, my C code.
>> The reason being that it was C, not C++. As all compilers that are
>> relevant to me are indeed accepting this by default, I have no objection
>> whatsoever to adopting //. In fact, it makes it much clearer what is and
>> what is not comment.
>
> It's been some time now with no further comments on this thread so I would
> like to follow up on this topic with a decision. The consensus (with no
> dissenting opinions) seems to be that // comments would be fine for C code.
> So I intend to use // style comments from now on in C code, and I encourage
> their use with other developers.  Of course, converting our existing
> comment-style to the // form would be a pain if done by hand.  Therefore, in
> the interests of uniform style I am going to inquire with the uncrustify
> developers whether they would be willing to implement a style option for
> both C and C++ code that converts all single and multiple line /*... */
> comments to the // form.

Hmmm.  No response so far on the uncrustify list.  So we may have to do
the conversion to // form using a special script.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to