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.
_______________________________________________
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng