Line continuation with operators 
ID | LAYOUT-10 |
Title | Binary operators in multi-line statements shall be placed at the start and not at the end of the line. |
Priority | Recommended |
Severity level | 9 |
Description | Place binary operators in multi-line statements at the start and not at the end of the line. |
Rationale | By placing binary operators at the start of the line, it is immediately clear what the line does. |
Avoid:
isDone = isImplemented && ...
isTested && ...
isDocumented;
Instead use:
isDone = isImplemented ...
&& isTested ...
&& isDocumented;