in reply to screen out an untained array from a special array

It's always been my opinion that you can't program a solution to a problem if you don't understand the problem. And if you can't explain the problem (clearly, cogently) you don't understand the problem.

Before you try to code, explain the solution to yourself, step by step. Assume computers don't exist, what are the steps you take to solve the problem. If you can do that, programming the solution is trivial.

  • Comment on Re: screen out an untained array from a special array

Replies are listed 'Best First'.
Re^2: screen out an untained array from a special array
by Hanken (Acolyte) on Feb 09, 2009 at 02:34 UTC
    Yes, I fully agree with apl. I think I need to understand more about my doubt and try to repeat it again and again clearly in my mind.

    I have heard of a story of someone (maybe Larry??) that when he got a programming question, he did not ask someone else in the first but turn to his teddy bear, and he repeated his question to the teddy bear clear (and congently) times and times, and in most of time the answer will be prompted, it's more like an inpiration.