Introducing Cobra
Christopher Smith
x at xman.org
Wed Jan 2 15:13:56 PST 2008
SJS wrote:
> Um, no. Don't be stupid.
>
> The point is that indentation is a _hint_, and not _definitive_.
>
> Indentation is documentation, not syntax.
>
Yes, and what is the point of having your syntax not match your
documentation beyond leading people on wild goose chases?
>> 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.
>>
>
> You do an experiment first: take your biggest, most important codebase,
> strip out all of the leading whitespace, and save it. Delete all backups
> and version-control repositories, so you don't cheat*.
>
> After this transformation, how fast can you get a working codebase back?
>
I'm not sure I understand the point of your experiment. That said, I'd
imagine it'd be a very short time as I can simply use undo in my
editor.... ;-)
--Chris
More information about the KPLUG-LPSG
mailing list