:: Re: [DNG] C source style [was vdev …
Top Page
Delete this message
Reply to this message
Author: aitor
Date:  
To: dng
Subject: Re: [DNG] C source style [was vdev status update in daedalus]
Hi,

On 30/7/25 11:36, Didier Kryn wrote:
> Therefore, IIUC, they assume inconsistencies in the position of the
> openning brace with respect to line-break and indentation.


Not only Linux, but also FreeBSD, Xorg and Wayland

Personally, I find this exception reasonable because functions with a
long argument list often require to be broken into smaller chunks:

structevent_source *
event_loop_add_signal(structevent_loop *loop,
intsignal_number,
wl_event_loop_signal_func_tfunc,
void*data)
{
body of the function
}


> Their problem... with all due respect for their great work.


Linus Torvalds was less polite (the document seems to be written in 2016):

"First off, I'd suggest printing out a copy of the GNU coding standards,
and NOT read it. Burn them, it's a great symbolic gesture."

Cheers,

Aitor.