in reply to Re^2: Average calculation
in thread Average calculation

Terse, cryptic, partially golfed answers are typically acceptable if the question smells like homework. Consider such to be defense mechanisms of the monestary; good answers to homework questions will attract more homework questions. I, and many others, believe many homework questions would decrease the value of this community.

-Scott

Replies are listed 'Best First'.
Re^4: Average calculation
by Moron (Curate) on Oct 24, 2005 at 16:40 UTC
    Yes I suppose it could be homework, or it could be a totally different real work situation modified into a state, town and temperatures model to get rid of any implied confidential information.

    But if I was sure it was homework, then just giving the code answer is likely to encourage questions from people who want it done rather than those who want to learn. Which group is the more deserving? If anything, I would be inclined to give just hints and/or links to docs rather than just code if deeming it to be homework.

    -M

    Free your mind

      Depends on how cynical you are about people who ask homework questions.

      The disadvantage of pointing the questioner to documentation, or answering the question at a high level (with no code), is that the questioner might keep coming back, asking question after question until every little step that requires intelligence above that of a stoned tadpole is answered. And a question like the original post tends to raise that suspicion -- it doesn't contain enough information to truly help the questioner understand what s/he is doing wrong, but coincidentally it does contain enough information to give a working solution to the problem. At the same time, there's still a very good chance that the questioner is not a slacker cheating on homework; s/he is just not all that good at asking questions.

      Of course, by giving a working solution, you've just given the suspected leech exactly what s/he was looking for. Or did you? Most probably not -- any professor who received an obfuscated answer such as the one above is obviously going to know that it's not the student's original work.