The line continuation works in such a way that if at the end of a line there is a plus (+), comma (,), Or (|), And, Or, Xor, the line can be wrapped.
This works great, but in the case of And, Or, Xor it would look better if the new line could start with these commands. In most cases, when using this operators, the first line will be a conditional command and the following lines will hold further conditions for this command.
I refer here to the SQL syntax. With this formatting you can recognize the logic of the whole condition more quickly without looking each line up to the end.
Example of SQL syntax:
Code: Select all
Select a.firstname, a.name, a.age, a.debit
From customers a
Where a.name = 'Smith'
And a.debit > 300
And a.age between 18 and 39