Tuesday, June 29, 2021

Re: C style in OpenBSD

you can use a formatter such use astyle or clang-format

On Tue, Jun 29, 2021 at 7:55 AM jslee <indigoid@oldcorollas.org> wrote:
>
> On Tue, 29 Jun 2021, at 15:18, Reuben ua Bríฤก wrote:
> > any comments?
>
> http://man.openbsd.org/style.9
>
> Yes, two comments
>
> 1. Read more / write less
>
> 2. Sharp deviations from widely-accepted style, such as multiply-nested ternaries, make it harder for others to play in your codebase, with zero tangible gain
>
> I found your example horrifying.
>
> John
>

No comments:

Post a Comment