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