[Lazarus] clarification / Re: constant-highlight ? [Re: quick opinion poll / pascal highlighting "case"]
waldo kitty
wkitty42 at windstream.net
Thu May 27 21:16:36 CEST 2010
On 5/26/2010 12:06, Jürgen Hestermann wrote:
> But when having it formatted like this
>
if x then
begin
code;
end
else
if y then
begin
code;
end
else
begin
code;
end;
>
> you can immediately see that the new-command has to be inserted like that:
>
if x then
begin
code;
end
else
begin
new-command;
if y then
begin
code;
end
else
begin
code;
end;
end;
i also recall how i used to scroll thru hundreds of pages looking for a
procedure that i needed to work on... using (holding down) the arrow keys to
scroll hundreds and hundreds of lines, i wasn't looking for specific code, at
that point, but more of the flow of the indents... in fact, one might say that i
would "blur" my eyes so as to see the "shape" of the left side of the code... i
definitely wasn't focusing on it or trying to read it at that point...
i'm not sure how to really explain it but maybe similar to looking for a section
of shoreline by picking out the surrounding areas...
indents are nothing... they are simply spaces and can actually be eliminated
from all source code... the compiler doesn't care about them... they are a human
necessity (crutch?) ;)
More information about the Lazarus
mailing list