<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Sample Code on Programming Books Considered Harmful</title>
	<atom:link href="http://coliveira.net/software/sample-code-on-programming-books-considered-harmful/feed/" rel="self" type="application/rss+xml" />
	<link>http://coliveira.net/software/sample-code-on-programming-books-considered-harmful/</link>
	<description>by Carlos Oliveira</description>
	<lastBuildDate>Tue, 15 May 2012 01:46:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Dave</title>
		<link>http://coliveira.net/software/sample-code-on-programming-books-considered-harmful/comment-page-1/#comment-115</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Sun, 24 May 2009 02:36:26 +0000</pubDate>
		<guid isPermaLink="false">http://coliveira.net/?p=257#comment-115</guid>
		<description>Several publishers now use live code in book production.

Aside from that, you&#039;re simply making a huge, sweeping generalization that serves little purpose.</description>
		<content:encoded><![CDATA[<p>Several publishers now use live code in book production.</p>
<p>Aside from that, you&#8217;re simply making a huge, sweeping generalization that serves little purpose.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Casper Bang</title>
		<link>http://coliveira.net/software/sample-code-on-programming-books-considered-harmful/comment-page-1/#comment-105</link>
		<dc:creator>Casper Bang</dc:creator>
		<pubDate>Mon, 18 May 2009 13:36:17 +0000</pubDate>
		<guid isPermaLink="false">http://coliveira.net/?p=257#comment-105</guid>
		<description>Not sure I agree. Most samples are for illustrative purposes, a way to get a technique, syntactical construct or idiom across to the reader in a terse and finite language.

The best counter example I can come up with, is to compare the GoF and Head First Design Patterns books. The former makes you fall asleep before you hit page 10, the latter shows you exactly how to apply it with samples throughout the book.

That&#039;s not to say I haven&#039;t seen bad samples or 1000+ paged textbooks, point taken. But to claim sample code is considered harmful is a bit of a stretch.</description>
		<content:encoded><![CDATA[<p>Not sure I agree. Most samples are for illustrative purposes, a way to get a technique, syntactical construct or idiom across to the reader in a terse and finite language.</p>
<p>The best counter example I can come up with, is to compare the GoF and Head First Design Patterns books. The former makes you fall asleep before you hit page 10, the latter shows you exactly how to apply it with samples throughout the book.</p>
<p>That&#8217;s not to say I haven&#8217;t seen bad samples or 1000+ paged textbooks, point taken. But to claim sample code is considered harmful is a bit of a stretch.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: james</title>
		<link>http://coliveira.net/software/sample-code-on-programming-books-considered-harmful/comment-page-1/#comment-104</link>
		<dc:creator>james</dc:creator>
		<pubDate>Mon, 18 May 2009 13:28:49 +0000</pubDate>
		<guid isPermaLink="false">http://coliveira.net/?p=257#comment-104</guid>
		<description>But what about programming languages like Java. We can&#039;t just go through all api to start coding. We have to get some idea, in order to get that we have to follow few steps. I don&#039;t say copy and paste but get the logic, practice coding and compare with text book code.</description>
		<content:encoded><![CDATA[<p>But what about programming languages like Java. We can&#8217;t just go through all api to start coding. We have to get some idea, in order to get that we have to follow few steps. I don&#8217;t say copy and paste but get the logic, practice coding and compare with text book code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: coliveira</title>
		<link>http://coliveira.net/software/sample-code-on-programming-books-considered-harmful/comment-page-1/#comment-103</link>
		<dc:creator>coliveira</dc:creator>
		<pubDate>Sat, 16 May 2009 19:57:57 +0000</pubDate>
		<guid isPermaLink="false">http://coliveira.net/?p=257#comment-103</guid>
		<description>@Zoltan: it is really rare a case where the author realizes how bad the code is (in the sense that I described in the article). Just making that acknowledgment would make life much easier for inexperienced readers.</description>
		<content:encoded><![CDATA[<p>@Zoltan: it is really rare a case where the author realizes how bad the code is (in the sense that I described in the article). Just making that acknowledgment would make life much easier for inexperienced readers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zoltan</title>
		<link>http://coliveira.net/software/sample-code-on-programming-books-considered-harmful/comment-page-1/#comment-102</link>
		<dc:creator>Zoltan</dc:creator>
		<pubDate>Sat, 16 May 2009 18:21:02 +0000</pubDate>
		<guid isPermaLink="false">http://coliveira.net/?p=257#comment-102</guid>
		<description>Can&#039;t agree more. While I think sample code has it&#039;s uses, space constraints often lead to code that takes too many short-cuts. Not a problem if the reader is familiar with the &quot;right way&quot; to do things, but, unless it&#039;s pointed out, many readers are going to put that sample code into production apps.

I made that point in a review of PHP and MySQL Web Dev.
(http://yyztech.ca/reviews/book/php-mysql-web-development), which actually realizes this is the case - and tries to discourage it.</description>
		<content:encoded><![CDATA[<p>Can&#8217;t agree more. While I think sample code has it&#8217;s uses, space constraints often lead to code that takes too many short-cuts. Not a problem if the reader is familiar with the &#8220;right way&#8221; to do things, but, unless it&#8217;s pointed out, many readers are going to put that sample code into production apps.</p>
<p>I made that point in a review of PHP and MySQL Web Dev.<br />
(http://yyztech.ca/reviews/book/php-mysql-web-development), which actually realizes this is the case &#8211; and tries to discourage it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

