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

From: stephen Turner <stephen.n.turner_AT_gmail.com>
Date: Thu, 10 Jan 2019 08:46:51 -0500

The only issue I see with c99 code is that some of the compilers appear to be behind the times on c. Any reason why we wouldn’t want to use a newer c feature other than compatibility?

Thanks,
Stephen

On Jan 10, 2019, at 4:27 AM, David Demelier <markand_AT_malikania.fr> wrote:

Le 27/12/2018 à 11:10, Silvan Jegen a écrit :
> The only downside of //-style comments that I can
> see is that they are only allowed since C99[0].

Yes, but C99 was released 20 years ago. Perhaps it's okay to use it nowadays :)

Regards,

-- 
David
Received on Thu Jan 10 2019 - 14:46:51 CET

This archive was generated by hypermail 2.3.0 : Thu Jan 10 2019 - 14:48:08 CET