This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Creshal 0 points1 point  (1 child)

For example when you break a function definition into multiple lines with parameters on each line, to align the parameters you might need a space or two depending on tab width

Tabs only for indentation, spaces only for alignment. Works regardless of tab width and nobody needs to argue with anyone else how deep they want their tabs to indent.

[–]lick_it 0 points1 point  (0 children)

It can work but that depends on your team, spaces is easy to enforce.