:: Re: [DNG] Starting outline for the …
Startseite
Nachricht löschen
Nachricht beantworten
Autor: aitor
Datum:  
To: dng
Betreff: Re: [DNG] Starting outline for the DNG Safe Programmer Certificate
Hi,

On 1/8/21 14:41, tito via Dng wrote:
> Hi,
> I really prefer
>
> if (mybool) {
>     do_my_stuff();
>     do_other_stuff);
> }

>
> for the rule of least vertical screen usage (same as yours)
> and the brace and the if on the same indentation level
> make it clear where the conditional block of code stops.


Me too. I tend to use the Linux Kernel coding style:

https://www.kernel.org/doc/html/v4.10/process/coding-style.html
<https://www.kernel.org/doc/html/v4.10/process/coding-style.html>

Cheers,

Aitor.