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. 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 __________________________ ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel