On 5/3/21 13:03, RĂ©mi Bernon wrote:
Is it really? I'm sure it depends on the maintainer. Also winex11 code is not completely consistent but still, most of its code is not following this rule, and new code that has been recently added to it don't either.
Although I agree the said rule is convenient to think less about the indentation, in this specific case (the ternary operator) I really find it less readable.
IMHO if we really want to stop thinking about indentation we should use automatic indentation tools, not rules that makes things less readable.
I am not sure how automatic indentation tool can manage if we can't formulate the rule for indentation?