Yeah, mine said "It is traditional to use i and j for loop counters". In
plain black and white. Not n for number, but i for integer (I guess).
So I'd quite like to know the reasons as well. And Google didn't work
for me either.
I think that if you come across
var
i: Integer;
begin
for i := 0 to Bob.Count - 1 do
begin
Blah Blah;
...
end;
end;
it's pretty obvious what's happening. If your code is so convoluted that
you can't look at it and go "Ooh, look! A 'for' loop with a counter"
then you have bigger problems than calling your loop counters i and j.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Richard Vowles
Sent: Friday, September 24 2004 2:11 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: RE: [DUG] DiamondBack Sneak Peek (Delphi 9)
And do your work for you?! :-)
If it isn't obvious, there is no point in discussing it - all entry
level computer science course discuss this very issue.
Richard
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of [EMAIL PROTECTED]
Sent: Friday, 24 September 2004 12:42 p.m.
To: [EMAIL PROTECTED]
Subject: RE: [DUG] DiamondBack Sneak Peek (Delphi 9)
> Good practice (not always =) VCL source
True, the VCL also uses _with_.
Each to there own - but globally condemned is a bit rich
> for multitudes of good reasons.
name some then
What did you search on in google.
_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi
_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi
_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi