C++ style comments

Paul Mackerras paulus at samba.org
Tue Jun 4 19:04:45 EST 2002


laurent.mohin at acterna.com writes:

> Just a general question.
> I saw in several previous issues that we should avoid using C++
> style comments.
> Why?

In the past they have been deprecated because they were not officially
part of the C language.  These days they are.  However, although they
are allowed, they are regarded as being in somewhat bad taste by many
kernel hackers.  I personally think they look a little ugly.

Paul.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list