Newsgroup: comp.lang.c


Date: Wed, 12 Apr 2006 16:05:25 +0300
From: Diomidis Spinellis <dds@aueb.gr>
Organization: Athens University of Economics and Business
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060130 SeaMonkey/1.0
MIME-Version: 1.0
Newsgroups: comp.lang.c
Subject: Re: Code quality and examples from open source C code
References: <e1geek$9dp$6@volcano1.grnet.gr> <443C0DFC.7A32047C@yahoo.com>
In-Reply-To: <443C0DFC.7A32047C@yahoo.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
CBFalconer wrote:
> Diomidis Spinellis wrote:
>> A quick note to inform my fellow C programmers that my new book
>> "Code Quality: The Open Source Perspective" (Addison-Wesley, 2006)
>> has just been published.  All 623 examples I use in the book are
>> drawn from real-world open source code; most use C, as the lowest
>> common denominator.  For more details you can visit the book's
>> web site at <http://www.spinellis.gr/codequality?clc>.
> 
> I may be all wet here, but while there is nothing wrong with your
> charging for a book, I consider the material in a book based on
> open source code should also be freely available.  

You could make such a case for GPL-licensed code, although even in that 
case one would probably argue that the excerpting of code for criticism 
and commenting falls under the copyright's fair use doctrine 
<http://en.wikipedia.org/wiki/Fair_use>.  Nevertheless, to be extra 
safe, all the source code used in both "Code Reading" and "Code Quality" 
is licensed under the more liberal BSD and similar licenses.  For "Code 
Reading", which included the source code on a CD-ROM, the book had all 
the relevant licenses printed as an appendix (this is a requirement of 
many licenses).

This discussion has nothing to do with comp.lang.c, and I feel guilty 
for (unwittingly) inciting it.  If I didn't answer your question, maybe 
we should discuss it further by email.

Diomidis




Newsgroup comp.lang.c contents
Newsgroup list
Diomidis Spinellis home page

Creative Commons License Unless otherwise expressly stated, all original material on this page created by Diomidis Spinellis is licensed under a Creative Commons Attribution-Share Alike 3.0 Greece License.