libcdio-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libcdio-devel] Request for Comments: converting libcdio-paranoia C


From: karl
Subject: Re: [Libcdio-devel] Request for Comments: converting libcdio-paranoia C style - which "standard" to use?
Date: Mon, 13 May 2024 21:03:50 +0200 (CEST)

Rocky Bernstein:
...
> For example:
> 
>   for(;endA<sizeA && endB<sizeB;endA++,endB++)
> >     if(buffA[endA]!=buffB[endB])break;

Perfectly readable though a little cramped.

[ about clang-format etc. ]
> First, any thoughts or comments on this?  Any thoughts on which of the many
> C "standard" styles to use? (The great thing about Standards is that there
> are so many to choose from!)
...

 Not that I have any say in this...
It is fine to define a coding style for check-in time, but don't force 
people to work in that format. Just provide an indent- or clang-format
formula to be used before check-in time. Specify it and be done.
Do not require any extra dependancies just for the style.

Regards,
/Karl Hammar




reply via email to

[Prev in Thread] Current Thread [Next in Thread]