2 ms·
Why do you put the operators for multiline expressions at the end of the preceeding line instead of at the beginning of the next line? With statements, the fir
by anamax 17y ago
Why do you put the operators for multiline expressions at the end of the preceeding line instead of at the beginning of the next line?
With statements, the first token on the line tells you what it's doing and the indentation tells you about its relationship to statement on the previous line. Why not do something similar for multi-line expressions?
- philwelch 17y agoI like aligning the atomic conditional tests I'm or'ing together, and that's the most space-efficient way to do it. I guess I could indent the first line more and put the or operators on the left, though.