in reply to To test demos and solutions

My basic assumption is that, unless stated otherwise, code is typed off the top of the posters head, and is completly untested. For a while, I've been explicitly stating that.


Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).

Replies are listed 'Best First'.
Re: Re: To test demos and solutions
by pg (Canon) on Jan 12, 2003 at 23:06 UTC
    Hm;-)...However my assumption is (no, WAS) that code is tested, unless stated otherwise, and that's what I did, I always test my code, before post it. I feel uncomfortable to post untested code, well, that's just my feeling.

      And I've always thought that theorbtwo's disclaimer is redundant. It's always been my assumption that all code under SoPW and all responses (to anything) is untested. I generally expect obfuscations, snippets and other prepared examples to have been tested beforehand. Outside of that no one should expect that the code is of any particular quality.

      In fact, frequently I post code not because I expect the user to copy and paste it but that I expect the user to read it and write it down themselves. How else is the person asking the question supposed to learn things anyway if they just copy/paste prewritten code examples.