Acceptable to have spaces before dot?
Posted
by
Rudy
on Stack Overflow
See other posts from Stack Overflow
or by Rudy
Published on 2011-01-05T00:41:00Z
Indexed on
2011/01/05
0:53 UTC
Read the original article
Hit count: 193
What is the general opinion on the 2nd indentation method below.
// Normal indentation
a.Value = "foobar";
ab.Checked = false;
foo.Value = "foobar";
foobar.Checked = true;
// Spaces before the dot to align the properties/methods
a .Value = "foobar";
ab .Checked = false;
foo .Value = "foobar";
foobar.Checked = true;
This should probably be a wiki, but I either don't have enough privileges or don't know how to change it.
© Stack Overflow or respective owner