Re: comment style

Chris Wedgwood (chris@f00f.org)
Mon, 1 Dec 1997 21:45:15 +1300


Date: Mon, 1 Dec 1997 01:11:11 -0500 (EST)
Message-Id: <199712010611.BAA32054@jupiter.cs.uml.edu>
From: "Albert D. Cahalan" <acahalan@cs.uml.edu>
To: linux-kernel@vger.rutgers.edu
Subject: comment style
X-Orcpt: rfc822;linux-kernel@vger.rutgers.edu
Sender: owner-linux-kernel@vger.rutgers.edu

In the 2.1.68 patch, I notice changes like this:

-// priv->phyOnline = 1;
+/* priv->phyOnline = 1; */

The ISO has decided to make C++ comments legal in C.

That doesn't make them right.

This means you should adjust your gcc config, not hack
the nice new-style comments out of the kernel.

Those old-style comments are not good.

Why... /* */ should work everywhere. Why not go for lowest common
denominator?

-Chris (hoping this doesn't become a religious debate about comment
styles...)