Comment Re:Why put tabs in code anyway? (Score 1) 390
Sorry for the late reply.
--tuple = (x,
-- y,
-- z);
Put the x on its own line, like this:
--tuple =(
--- x,
--- y,
--- z);
Now the x, y and z line up.
a_long_named_variable_x =
a_long_expression_that_that_is_similar_to_another_expression_x;
Start the long expression on the line after the variable, indenting one additional level from that which the variable is indented at. If you break up the long expression onto multiple lines, indent them the same as the first line of the long expression, unless you want to add more for clarity of sub-expressions. The resulting paragraph of code will still resemble the similar paragraphs y and z.
Or, keep the long expression on a single line and let the editor's word wrap handle it.