Re: variable scope in for loop
Andrey Tarasevich wrote:[color=blue]
> Jeff Schwab wrote:
>[color=green]
>>...
>>I think initialized variables properly does more for readability than
>>making blocks of code look alike. Just my opinion, though.
>>...[/color]
>
>
> In my opinion, separating initialization of loop variable from the loop
> itself might create more problems than delayed intialization of a variable.
>[/color]
For instance?
Andrey Tarasevich wrote:[color=blue]
> Jeff Schwab wrote:
>[color=green]
>>...
>>I think initialized variables properly does more for readability than
>>making blocks of code look alike. Just my opinion, though.
>>...[/color]
>
>
> In my opinion, separating initialization of loop variable from the loop
> itself might create more problems than delayed intialization of a variable.
>[/color]
For instance?
Comment