in reply to Calculated % of data greater than $x in an array

I am just wondering if there is another way to avoid the looping.

We often get this kind of question, and it make no sense. They want to execute the same code repeatedly (in this case, checking if an element is greater than $x), and they want to do it without looping. The problem is that executing the same code repeatedly is the very definition of looping. What does looping mean to those people?

True, some say they want to avoid a specific kind of loop, but they never say what about that kind of loop they are trying to avoid. I find it hard to believe it's because they don't like the spelling of the keyword.

  • Comment on Re: Calculated % of data greater than $x in an array

Replies are listed 'Best First'.
Re^2: Calculated % of data greater than $x in an array
by Anonymous Monk on Mar 05, 2010 at 18:54 UTC

    I have wondered the same thing often. Maybe Corian can address your comment and speak for all of the loop-haters out there.

      Whoops. Twice, I thought Corian was the originator of the question. Sorry about that. I should sign up for an account so I can correct my stupidity in the future.
        Well, I don't know about speaking for others, but indeed, I wouldn't mind hearing the OP's thoughts.