in reply to Re^2: for loop localisation bug?
in thread for loop localisation bug?
Frankly I wouldn't have it another way - more than a few times have I found the persisting iteration variable value behaviour of FOR loops in Pascal and C annoying, and more than a few times have I found the aliasing behaviour of Perl's foreach useful.
Just to throw my two pennies in on this one. I feel that that's merely the, "feature set," of the different languages. There are different instances where I would rather have the iteration variable persist and other times where I don't want it to persist.
I guess what I'm saying is that not every language can meet the needs of every situation nor make every developer happy. I can't vouch for anyone else, but that's why I have so many different languages installed. Different tools for different needs.
----
Is it fair to stick a link to my site here?
Thanks for you patience.
|
|---|