Re: [dev] Coding style: why /* */ and not //?

From: Anselm Garbe <garbeam_AT_gmail.com>
Date: Thu, 10 Jan 2019 12:35:21 -0800

On Wed, 26 Dec 2018 at 03:56, Martin Tournoij <martin_AT_arp242.net> wrote:
> Don't want to start a discussion about it, but I'm curious why // is
> disallowed? AFAIK all compilers accept // these days, and have for a
> long time?

Consistency, -- we only want one way of comments in code, as with
everything else.

Following the one way approach, leads to better consistency and less complexity.

Besides this, /**/ is the more traditional style. The longer something
is in place, the likelier it will be existent even longer ;)

Thanks,
Anselm
Received on Thu Jan 10 2019 - 21:35:21 CET

This archive was generated by hypermail 2.3.0 : Thu Jan 10 2019 - 21:36:08 CET