Hello Albert,

I personally use 4-char tabs but it's not a requirement.

We don't enforce the 80 char rule strictly because there
are corner cases where the code is much more readable when
allowed to exceed the 80 char limit on a few lines.

Readability is king and we live in 2018 after all :)

Regards,
 -Soeren


On Thu, 2018-09-27 at 20:49 +0200, Albert Green wrote:
> Hi,
> I'm in the process a writing a libsigrok driver for a new device and
> I want to have my code formatted according to your rules.
> I read that you are using the Linux coding style. Can you confirm
> that you are using tabs that are 8 chars wide? Because when I look at
> some parts of sigrok code with my editor configured with 8-char tabs,
> I see lines in part of the sigrok code that are longer than the 80-
> char line specified in the Linux coding style. So wondering if you
> are using 4-char tabs instead? Or is only that you don't enforce
> strictly the 80-char line rule?
> Regards,
> Albert
> 
> _______________________________________________
> sigrok-devel mailing list
> sigrok-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sigrok-devel


_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to