http://qs321.pair.com?node_id=11129896


in reply to Re: How would you indent this?
in thread How would you indent this?

The problem with this is style is that the nether the braces nor the fields line up.

This is really bad.

We use indentation to identify where something starts and ends, but there's no } matching the row's {. It's ended up off by one.

We use indentation to indicate what is part of the same block, but name isn't at same level as key even though they're in the same block.

With both false positives and false negatives, this is an complete indentation failure.

And that's not even getting into the fact that it completely dropped the ball on offering the ability to spot differences between the lines at a glance when it could easily have done so.

Seeking work! You can reach me at ikegami@adaelis.com