<div dir="ltr">Good point.</div><br><div class="gmail_quote"><div dir="ltr">On Tue, Sep 27, 2016 at 3:47 PM Andrey Utkin <<a href="mailto:andrey_utkin@fastmail.com">andrey_utkin@fastmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, Sep 27, 2016 at 02:27:27PM +0000, Laurence Rochfort wrote:<br>
> Thanks very much for the comprehensive answer.<br>
><br>
> Using spaces and tabs for alignment does make the code more readable<br>
> to my mind.<br>
><br>
> The reason behind my question originally was that the CodingStyle doc<br>
> states:<br>
><br>
> "Outside of comments, documentation and except in Kconfig, spaces are never<br>
> used for indentation, and the above example is deliberately broken."<br>
><br>
> however most code I have seen is not compliant with that.<br>
><br>
> Should the docs be updated?<br>
<br>
There's difference between terms "indentation" and "alignment".<br>
Please see paragraph "Indentation and alignment" of previously<br>
referenced article:<br>
<a href="http://dmitryfrank.com/articles/indent_with_tabs_align_with_spaces#indentation_and_alignment" rel="noreferrer" target="_blank">http://dmitryfrank.com/articles/indent_with_tabs_align_with_spaces#indentation_and_alignment</a><br>
<br>
Accounting this difference, the doc is correct in strict sense.<br>
</blockquote></div>