4 ms·
What you presented indeed has no alignment spaces, so all-tabs approach works. The thing is, there are codebases that use "my" line breaking, and with no edito
by dozzie 10y ago
What you presented indeed has no alignment spaces, so all-tabs approach works.
The thing is, there are codebases that use "my" line breaking, and with no
editor that handles that case correctly, tabs are just no-go.
> If your method name grows or shrinks, the alignment in your example needs to be fixed whereas with simple indentation there's no such need.
I gladly accept this drawback, for the sake of situations when a linebreak is
necessary, but the argument list is just too short to be split it into
separate lines like in your example. (The necessity is a matter of taste,
obviously.)
I admit, these situations are rare, but they happen from time to time, so
I simply don't use tabs.