[petsc-dev] Request for comments: allow C99 internally
Jed Brown
jed at jedbrown.org
Sat Mar 7 08:46:44 CST 2020
Satish Balay <balay at mcs.anl.gov> writes:
>> +1 for the for-loop declarations.
>>
>> No more need to police the use of // C++-style comments?
>
> I think the objection was more about the code style. Mixing both types of comments does not look good.
I don't have a problem with // for one-line comments and /* */ for
multi-line. This would also be easy to batch replace across the whole
(private) code base -- strictly /* */ in public headers.
I'm also fine with keeping /* */ everywhere.
More information about the petsc-dev
mailing list