[dev] Coding style: why /* */ and not //?
The coding style says:
> Use /* */ for comments, not //
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?
I've always preferred // since they can nest (you can comment out a
function with //-style comments, but not with /* */-style comments), but
maybe I'm missing a downside of //-style comments?
Thanks,
Martin
Received on Wed Dec 26 2018 - 12:56:29 CET
This archive was generated by hypermail 2.3.0
: Wed Dec 26 2018 - 13:00:08 CET