3 ms·
I like to format my code in ways that make it more readable, too. Vertical alignment is one way. I'm familiar with the arguments against it, but it always seems
by scelerat 12y ago
I like to format my code in ways that make it more readable, too. Vertical alignment is one way. I'm familiar with the arguments against it, but it always seems to come down to the limitations of source control tools.
My half-fix: make functional changes in one commit, formatting changes in another, with a simple comment, "formatting".
- nsfyn55 12y agoFirstly, this doesn't solve any problems. It actually adds another a fragmented history. Secondly, this is not a limitation of source control tools its a limitation of formal logic. Vertical alignment's benefits are absolutely minimal. What is the ROI? How many bugs can be traced to "Lack of vertical alignment"? How many programmers have uttered the phrase "That vertical alignment really saved my bacon on that one"? Answer NONE! Its entirely aesthetic. I agree it looks nicer, but a Geo Metro modded to look like a Ferrari isn't any faster because it "looks faster"