NOTE: I am reentering the fray on provocation.

On Saturday, Aug 30, 2003, at 19:59 America/New_York, Ard Biesheuvel wrote:

for (int i = 0; i < 5; i++)
{
        int num = array[i];
        printf("%d", num);
        for (int i = 0; i < 5; i++)
                printf("%d", i * num);
}

Perhaps this is an example from C++, but it illustrates my point. This may be a better example, if we are to step back a decade or two:


int i;
for (i = 0; i < 5; i++)
{
        int i;
        for (i = 5; i < 10; i++);
}
printf("%d", i);


I'll try to explain it in your own language.


no declarations inside for() in C ===> your example ===> *crap*

loose typing ===> no declarations ===> 'masking out' _IMPOSSIBLE_

How germane of you to adopt my own language, but as flattering as that is, I must say that your grammar is off a we bit. I would have chosen:


no declarations inside for() in C =>i your example =========> *crap*

loose typing =>i no declarations =========> 'masking out' _IMPOSSIBLE_


-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to