Books: Pragmatic Unit Testing in Java, Agile Java, Modern C++ Programming with TDD, Essential Java Style, Agile in a Flash. Contributor, Clean Code.
For my latest books on Java, including Introducing JavaFX 8 Programming, see HerbSchildt.com
Originally posted by Herb Schildt:
Jeff:
One last point: In the same way that you can't re-publish any other part of my book without permission, you can't re-publish my code without permission. But, I know this isn't what you are asking about.
Co-author of SCMAD Exam Guide, Author of JMADPlus
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0
42
Originally posted by Jeroen Wenting:
strictly, copyright law would prohibit you from using even a single line of code without change.
Co-author of SCMAD Exam Guide, Author of JMADPlus
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0
For my latest books on Java, including Introducing JavaFX 8 Programming, see HerbSchildt.com
Originally posted by Herb Schildt:
Ko Ko:
As I mentioned earlier, I write my books to be used. As far as I am concerned, as long as you are adapting, evolving, and reshaping the code to your own purposes, I doubt that copyright would ever be an issue. Of course, if you are engaged in the development of a commercial product and want to use large sections of code from the book, then getting permission from McGraw-Hill will give you peace of mind.
Also, thanks for being sensitive to these issues! It is appreciated!
BTW: I'm not a lawyer, but I can't imagine that a statement like int i = 10; could be copyrighted because of the "Fair Use" doctrine mentioned by Jeroen, and because of vast quantities of "prior art" (which is a term that means earlier usage). It is my understanding that copyright applies to sequences of things, such as words, lines of code, etc. Not to just an individual word, line of code, and so on. (For example, you can copyright a paragraph containing the word "Hello", but not the word, itself. At least, this is my understanding!)
[ January 07, 2004: Message edited by: Herb Schildt ]
Co-author of SCMAD Exam Guide, Author of JMADPlus
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0
Originally posted by Herb Schildt:
That said, the entire contents of my books are copyrighted by McGraw-Hill. Thus, if you want to use substantial amounts of the code verbatim (that is, unchanged) in a commercial product, then you will want to get permission from McGraw-Hill. (No license, just permission.) In general, such permission is given free of charge, but this is their determination.
The above notwithstanding, most programmers use my code as a starting point, adapting, evolving, and restructuring it substantially. In this case, copyright issues are probably not applicable.
Books: Pragmatic Unit Testing in Java, Agile Java, Modern C++ Programming with TDD, Essential Java Style, Agile in a Flash. Contributor, Clean Code.
Don't get me started about those stupid light bulbs. |