Re: [dev] c++-style comments [was fsbm]

From: Dimitris Papastamos <sin_AT_2f30.org>
Date: Thu, 6 Nov 2014 16:37:18 +0000

On Thu, Nov 06, 2014 at 10:28:51AM -0500, Bobby Powers wrote:
> Can someone explain why they think /* */ sucks less than // ? It
> doesn't seem like it is for compatibility when st and dwm require C99
> anyway. An internet search did not turn up much, apologies if I've
> missed an obvious link or previous discussion.

For consistency with multiline comments and for allowing the code
to compile with C89.

Also // looks terrible.

And no, the fact that /* */ cannot be nested is not an argument in
favor of //.
Received on Thu Nov 06 2014 - 17:37:18 CET

This archive was generated by hypermail 2.3.0 : Thu Nov 06 2014 - 17:48:08 CET