<?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"
	>
<channel>
	<title>Comments for Databases and Life</title>
	<atom:link href="http://www.databasesandlife.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.databasesandlife.com</link>
	<description>Adrian Smith's blog</description>
	<pubDate>Fri, 04 Jul 2008 17:46:31 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>Comment on Reading row-by-row into Java from MySQL by Bob</title>
		<link>http://www.databasesandlife.com/reading-row-by-row-into-java-from-mysql/#comment-453</link>
		<dc:creator>Bob</dc:creator>
		<pubDate>Tue, 20 May 2008 22:40:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.databasesandlife.com/reading-row-by-row-into-java-from-mysql/#comment-453</guid>
		<description>btw, this was logged as a bug against MySQL (http://bugs.mysql.com/bug.php?id=18148).</description>
		<content:encoded><![CDATA[<p>btw, this was logged as a bug against MySQL (http://bugs.mysql.com/bug.php?id=18148).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reading row-by-row into Java from MySQL by Bob</title>
		<link>http://www.databasesandlife.com/reading-row-by-row-into-java-from-mysql/#comment-452</link>
		<dc:creator>Bob</dc:creator>
		<pubDate>Tue, 20 May 2008 22:38:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.databasesandlife.com/reading-row-by-row-into-java-from-mysql/#comment-452</guid>
		<description>OK, I'm not the only person who finds that this is crazy. I have a similar kind of use case--I want to read the whole result set in order to cache it (in a compressed form). I had to set the fetch size to 2^-31 too, but this blows up on other databases and it's non-trivial to put in code that tests for MySQL, so I'm in a quandary.</description>
		<content:encoded><![CDATA[<p>OK, I&#8217;m not the only person who finds that this is crazy. I have a similar kind of use case&#8211;I want to read the whole result set in order to cache it (in a compressed form). I had to set the fetch size to 2^-31 too, but this blows up on other databases and it&#8217;s non-trivial to put in code that tests for MySQL, so I&#8217;m in a quandary.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Encapsulation or public attributes: but nothing inbetween by Aviad Ben Dov</title>
		<link>http://www.databasesandlife.com/encapsulation-or-public-attributes-but-nothing-inbetween/#comment-451</link>
		<dc:creator>Aviad Ben Dov</dc:creator>
		<pubDate>Tue, 20 May 2008 15:11:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.databasesandlife.com/?p=301#comment-451</guid>
		<description>Adrian,

I wish pingbacks would work too. :)  

Anyway, what you said is something I completely agree with, this is why I always go for the paranoia approach. However, as I wrote in the post itself, this approach causes problems with some frameworks. What do you do when these things happen?

Thanks for the response. :)</description>
		<content:encoded><![CDATA[<p>Adrian,</p>
<p>I wish pingbacks would work too. :)  </p>
<p>Anyway, what you said is something I completely agree with, this is why I always go for the paranoia approach. However, as I wrote in the post itself, this approach causes problems with some frameworks. What do you do when these things happen?</p>
<p>Thanks for the response. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Encapsulation or public attributes: but nothing inbetween by Robin Salih</title>
		<link>http://www.databasesandlife.com/encapsulation-or-public-attributes-but-nothing-inbetween/#comment-449</link>
		<dc:creator>Robin Salih</dc:creator>
		<pubDate>Mon, 19 May 2008 18:56:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.databasesandlife.com/?p=301#comment-449</guid>
		<description>I agree with the paranoia approach for sure.</description>
		<content:encoded><![CDATA[<p>I agree with the paranoia approach for sure.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Java gotcha: anArray.hashCode isn&#8217;t deep by Peter Lawrey</title>
		<link>http://www.databasesandlife.com/java-gotcha-anarrayhashcode-isnt-deep/#comment-429</link>
		<dc:creator>Peter Lawrey</dc:creator>
		<pubDate>Mon, 12 May 2008 11:24:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.databasesandlife.com/java-gotcha-anarrayhashcode-isnt-deep/#comment-429</guid>
		<description>Unfortunately, arrays inherit their implementation of hashCode(), equals() and toString() fro Object.  There is no Array class type that all array inherit from only an Array &#38; Arrays helper classes.
This means the hashCode for an array is based on it internal object number, equals is only true for the same object and toString() prints the internal class name and the internal id... Not very useful IMHO.</description>
		<content:encoded><![CDATA[<p>Unfortunately, arrays inherit their implementation of hashCode(), equals() and toString() fro Object.  There is no Array class type that all array inherit from only an Array &amp; Arrays helper classes.<br />
This means the hashCode for an array is based on it internal object number, equals is only true for the same object and toString() prints the internal class name and the internal id&#8230; Not very useful IMHO.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on From Summer: Austria (instead of the UK) by adrian</title>
		<link>http://www.databasesandlife.com/from-summer-austria-instead-of-the-uk/#comment-423</link>
		<dc:creator>adrian</dc:creator>
		<pubDate>Tue, 06 May 2008 07:48:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.databasesandlife.com/from-summer-austria-instead-of-the-uk/#comment-423</guid>
		<description>Update: http://www.databasesandlife.com/2008-05-the-next-few-months/</description>
		<content:encoded><![CDATA[<p>Update: <a href="http://www.databasesandlife.com/2008-05-the-next-few-months/" rel="nofollow">http://www.databasesandlife.com/2008-05-the-next-few-months/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Programming Languages: Is newer always better? by Nick</title>
		<link>http://www.databasesandlife.com/programming-languages-is-newer-always-better/#comment-372</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Sun, 13 Apr 2008 15:07:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.databasesandlife.com/programming-languages-is-newer-always-better/#comment-372</guid>
		<description>Basically, you're right, though a few of the points are debatable. The example that I agree with most strongly is the last, auto-creation of variables. Didn't people learn in about 1972 that auto-creation of variables is a Very Bad Thing? Every good Perl programmer I know puts "use strict" at the beginning of all executable code (which forces declaration of all variables). So why doesn't PHP have "use strict"? If you ask this question on the PHP forums, you get answers that reveal the responders just don't understand the issue.</description>
		<content:encoded><![CDATA[<p>Basically, you&#8217;re right, though a few of the points are debatable. The example that I agree with most strongly is the last, auto-creation of variables. Didn&#8217;t people learn in about 1972 that auto-creation of variables is a Very Bad Thing? Every good Perl programmer I know puts &#8220;use strict&#8221; at the beginning of all executable code (which forces declaration of all variables). So why doesn&#8217;t PHP have &#8220;use strict&#8221;? If you ask this question on the PHP forums, you get answers that reveal the responders just don&#8217;t understand the issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Anti-aliased polygon filling algorithm by Flo</title>
		<link>http://www.databasesandlife.com/anti-aliased-polygon-filling-algorithm/#comment-371</link>
		<dc:creator>Flo</dc:creator>
		<pubDate>Sat, 12 Apr 2008 09:41:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.databasesandlife.com/anti-aliased-polygon-filling-algorithm/#comment-371</guid>
		<description>It's cool to see someone is enjoying implementing low-level graphics algorithms over and over again like myself! Kudos for the Amstrad fonts!!!</description>
		<content:encoded><![CDATA[<p>It&#8217;s cool to see someone is enjoying implementing low-level graphics algorithms over and over again like myself! Kudos for the Amstrad fonts!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Programming Languages: Is newer always better? (Part 2) by Flo</title>
		<link>http://www.databasesandlife.com/programming-languages-is-newer-always-better-part-2/#comment-370</link>
		<dc:creator>Flo</dc:creator>
		<pubDate>Sat, 12 Apr 2008 09:37:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.databasesandlife.com/programming-languages-is-newer-always-better-part-2/#comment-370</guid>
		<description>A late comment on this one:

Thanks for the enlightening statement that a programming language is firstly a communication tool between developers! This has never occurred to me so clearly, and I agree 100%.

Two more thoughts to add from myself: For me, the available tools for a given language are actually more important than the language itself. I'm still preferring Java not because I am in love with the language specification, but because Eclipse is a great IDE and the whole toolchain works for me. I wouldn't mind programming C++ (or nearly any other language) instead, but when I think back to the days when I was forced to use Visual Studio as a tool to do so, I shiver. Another way to put it: I don't care if "for" loops in Java are cumbersome, as long as I can hit Ctrl-Space after the "for" and the IDE writes the code for me. Same goes for refactoring etc.

Secondly, I have to say I am increasingly judging languages and toolchains not by how good they work for me, but by how good they would work for a team of mediocre(!) programmers - after all, that's the reality we face when we tackle larger projects. We just cannot rely on everyone on the team being a genius, and strongly typed languages help to force some discipline into the project. For myself, I enjoy coding in Javascript very much as it helps me to find elegant solutions fast. When I was forced to work with a very mediocre programmer for some months on a Java/Javascript project, his Java code was a mess but basically worked, but his Javascript code was so terribly bug-infested and contaminated with side effects the only thing one could do to really fix it was throw it away and rewrite it from scratch. And Unit tests don't help at all here because mediocre programmers fail to write tests with decent coverage.</description>
		<content:encoded><![CDATA[<p>A late comment on this one:</p>
<p>Thanks for the enlightening statement that a programming language is firstly a communication tool between developers! This has never occurred to me so clearly, and I agree 100%.</p>
<p>Two more thoughts to add from myself: For me, the available tools for a given language are actually more important than the language itself. I&#8217;m still preferring Java not because I am in love with the language specification, but because Eclipse is a great IDE and the whole toolchain works for me. I wouldn&#8217;t mind programming C++ (or nearly any other language) instead, but when I think back to the days when I was forced to use Visual Studio as a tool to do so, I shiver. Another way to put it: I don&#8217;t care if &#8220;for&#8221; loops in Java are cumbersome, as long as I can hit Ctrl-Space after the &#8220;for&#8221; and the IDE writes the code for me. Same goes for refactoring etc.</p>
<p>Secondly, I have to say I am increasingly judging languages and toolchains not by how good they work for me, but by how good they would work for a team of mediocre(!) programmers - after all, that&#8217;s the reality we face when we tackle larger projects. We just cannot rely on everyone on the team being a genius, and strongly typed languages help to force some discipline into the project. For myself, I enjoy coding in Javascript very much as it helps me to find elegant solutions fast. When I was forced to work with a very mediocre programmer for some months on a Java/Javascript project, his Java code was a mess but basically worked, but his Javascript code was so terribly bug-infested and contaminated with side effects the only thing one could do to really fix it was throw it away and rewrite it from scratch. And Unit tests don&#8217;t help at all here because mediocre programmers fail to write tests with decent coverage.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Transfering some hex. Sometimes gets replaced by string &#34;INF&#34;. Why? by adrian</title>
		<link>http://www.databasesandlife.com/transfering-some-hex-sometimes-gets-replaced-by-string-inf-why/#comment-368</link>
		<dc:creator>adrian</dc:creator>
		<pubDate>Thu, 10 Apr 2008 04:38:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.databasesandlife.com/?p=220#comment-368</guid>
		<description>See http://www.databasesandlife.com/explicit-vs-implicit-data-typing/</description>
		<content:encoded><![CDATA[<p>See <a href="http://www.databasesandlife.com/explicit-vs-implicit-data-typing/" rel="nofollow">http://www.databasesandlife.com/explicit-vs-implicit-data-typing/</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
