Not paraphrasing or copying the code is actually a service to your fellow monks. IMHO, it has the following advantages:

  • To get at the answer, people have to buy the book, or get the examples code from some website (usually provided). This should save on future questions, because people can then reasonably be expected to read the book (and actually learn something vs. just copy-and-paste the code).
  • It gives credit to the authors the way books are intended to work - by paying them. This is good, for otherwise we won't have any good authors.
  • It gets people into the habit of looking things up for themselves. Copy-and-paste usually fails to do this.
  • The books usually will have much, much more context information on how to use a given snippet, and that will often be very important.
  • You don't have to retype the code.
  • You have no problems with copyrights.

    That said, it is of course nice to give short, crisp answers based on a book's solution to a problem. But in the long run, just citing the book title and a page number will do the better service for all of us.

    The book to read is not the one which thinks for you, but the one which makes you think. -- James McCosh

    (See also this collection of quotations about books and reading.)

    Christian Lemburg
    Brainbench MVP for Perl
    http://www.brainbench.com


    In reply to Re: Fair Use When Referring to Book Answers? by clemburg
    in thread Fair Use When Referring to Book Answers? by Guildenstern

    Title:
    Use:  <p> text here (a paragraph) </p>
    and:  <code> code here </code>
    to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.