in reply to
Re^2: foreach argument modification inside loop, followed by return from loop
in thread foreach argument modification inside loop, followed by return from loop
vsespb, I sense that you have taken-offense at my comment, and I therefore wish to hasten to say that I meant nothing “personal” by it. You see, through most of my career, I have dealt with “old code.” None of the programmers who wrote the original code are still there ... they have moved on, and the legacy systems (of course) have not. Therefore I am constantly (and quite impersonally ... every author is presumed to be a Consummate Pro) “looking for funny smells.”
I don’t mean anything negative in my description of the sort of things that I have learned to look-for in source code. Have I, or has anyone on this planet, written code that smells every bit as badly? Alas, I have but one answer.