in reply to Re^3: Is it correct?
in thread Is it correct?

Actually I don't think in many cases even a guru, let alone a lowly expert, can give a definitive "Yes, that is correct" answer. Most of the questions are pretty open ended and depend a great deal on context, or even on context at a particular moment in time.

The questions are intended more to catalyze thought processes and an appropriate approach to considering what constitutes "correct" code. A large part of programming is art and there is no ultimate test for good art (the test of time is fairly definitive, but impractical for most purposes).

The time spent validating an answer should be a direct function of the importance that the answer is correct. If it doesn't matter at all then don't check it. If lives depend on it then you probably need to document the validation process, execute the process, then sign off on the result. Picking an appropriate level of validation is something for which there really is no litmus test - just like determining if a coding answer is "correct".


Perl is environmentally friendly - it saves trees

Replies are listed 'Best First'.
Re^5: Is it correct?
by blazar (Canon) on Jul 20, 2008 at 10:29 UTC
    Actually I don't think in many cases even a guru, let alone a lowly expert, can give a definitive "Yes, that is correct" answer. Most of the questions are pretty open ended and depend a great deal on context, or even on context at a particular moment in time.

    I personally believe you may be interested to know that some scientific studies (awarded nothing less than a Ig Nobel prize!) established the so called "Dunning-Kruger effect" by which:

    1. Incompetent individuals tend to overestimate their own level of skill.
    2. Incompetent individuals fail to recognize genuine skill in others.
    3. Incompetent individuals fail to recognize the extremity of their inadequacy.
    4. If they can be trained to substantially improve their own skill level, these individuals can recognize and acknowledge their own previous lack of skill.
    --
    If you can't understand the incipit, then please check the IPB Campaign.