Introducing Cobra
Christopher Smith
x at xman.org
Wed Jan 2 14:25:17 PST 2008
SJS wrote:
> Except that it *doesn't* improve readability.
>
> The eye *believes* whitespace, but it's also not very good at it. It's
> okay at determining that yeah, verily, there *is* whitespace, but it's
> not very good at determining how much. For very small programs, that's
> okay; but these languages are no longer being used solely for small programs.
>
If you honestly believed that, you shouldn't indent your code. In fact,
as an experiment, I encourage you to compare your code before and after
such a transformation. I assure you that the vast majority of the
population will be more quickly able to determine the location of a
start and end block when the block is properly indented with whitespace.
--Chris
More information about the KPLUG-LPSG
mailing list