|
|
|
|
|
by regularfry
4903 days ago
|
|
I do use vertical alignment, but that's not necessarily how I'd align the above lines. Assuming y and z are related, but x is not, I'd do them like this: int x
int y
float z
I might add a blank line between x and y, too.If you do vertical alignment such that it emphasises semantic relations, you avoid commits that change more than they should, and it also helps draw your eye to relationships between variables. |
|