2 ms·
Things that are supposed to be lined up stay lined up even if they aren't at the start of a line - even if you: * Use different tools - IDE, command line, vers
by michaelt 10y ago
Things that are supposed to be lined up stay lined up even if they aren't at the start of a line - even if you:
* Use different tools - IDE, command line, version control tool, code review tool, e-mail client.
* Have code that follows with different conventions - because you participate in several projects, or because you've imported third party code that follows a different convention, or because the code is written in different languages.
* Have co-workers with different opinions about what tab width should be set to.
Personally I don't think there's that much value in vertically aligning things, except in lookup tables. Usually it's a sign you've adopted line-length rules that don't reflect modern monitor sizes, or that your methods have too many parameters. But some people seem to think it's valuable.