Re: Question about Delphi versus other languages
From: Marco van de Voort (marcov_at_stack.nl)
Date: Fri, 8 Oct 2004 06:43:43 +0000 (UTC)
On 2004-10-07, Jud McCranie <email@example.com> wrote:
> On Thu, 7 Oct 2004 07:04:53 +0000 (UTC), Marco van de Voort
>>You know the reason for case sensitivity ? Twice the amount of two letter
> Actually 4 times as many.
(Should've been one letter of course. Even I can count to 4 on a good day
> But I don't like case sensitivity either.
> Although people will disagree with me, I think it is absurd to use "x"
> and "X" as different variable names in the same procedure.
I've seen it sometimes, but only in a certain form: using one case for a
parameter, and the other one for the loopvar that runs from (0|1) to the
maximum specified by the param, so like:
VAR x,y : CARDINAL;
FOR x:=1 TO X DO
FOR y:=1 TO Y DO
(* something with x,y *)
And then specifically for (X,Y,Z), since that are the only one letter vars
with a meaning (coordinates)