<?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 on: Ruby: Complexity cannot be reduced</title>
	<atom:link href="http://www.codemonkeyism.com/archives/2007/06/21/ruby-complexity-cannot-be-reduced/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codemonkeyism.com/archives/2007/06/21/ruby-complexity-cannot-be-reduced/</link>
	<description>Programming is hard</description>
	<pubDate>Sat, 22 Nov 2008 12:01:28 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: stephan</title>
		<link>http://www.codemonkeyism.com/archives/2007/06/21/ruby-complexity-cannot-be-reduced/#comment-27034</link>
		<dc:creator>stephan</dc:creator>
		<pubDate>Thu, 21 Jun 2007 14:19:05 +0000</pubDate>
		<guid isPermaLink="false">http://stephan.reposita.org/archives/2007/06/21/ruby-complexity-cannot-be-reduced/#comment-27034</guid>
		<description>Hi afsina, thanks for your comment.

Some thoughts on your comment:

- I usually use JODA or a Calendar (if I have to)

- I wanted to stay close to the Ruby example, as the preface states: "This article contains code examples, which could be written better and which experienced Java and Ruby developers would write differently."

- As said there is no full code. These were some code example to illustrate the CC points made in the post ("But the examples were chosen to illustrate points").</description>
		<content:encoded><![CDATA[<p>Hi afsina, thanks for your comment.</p>
<p>Some thoughts on your comment:</p>
<p>- I usually use JODA or a Calendar (if I have to)</p>
<p>- I wanted to stay close to the Ruby example, as the preface states: &#8220;This article contains code examples, which could be written better and which experienced Java and Ruby developers would write differently.&#8221;</p>
<p>- As said there is no full code. These were some code example to illustrate the CC points made in the post (&#8221;But the examples were chosen to illustrate points&#8221;).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: afsina</title>
		<link>http://www.codemonkeyism.com/archives/2007/06/21/ruby-complexity-cannot-be-reduced/#comment-27033</link>
		<dc:creator>afsina</dc:creator>
		<pubDate>Thu, 21 Jun 2007 14:10:41 +0000</pubDate>
		<guid isPermaLink="false">http://stephan.reposita.org/archives/2007/06/21/ruby-complexity-cannot-be-reduced/#comment-27033</guid>
		<description>Some thoughts on your java code:

-  new Date(1,1,1935) is deprecated. you can use GregorianCalendar instead. Java 7 will have better datetime handlin tough.

-  you can use static import for  SongType in Java code, it would reduce the code crowd. as:   SongType.TRAD_JAZZ -&#62; TRAD_JAZZ

Lastly, 

if (song.isMp3Type(Mp3Jazz.class) sounds a little awkward to me. it smells a little but cannot say much before i see the full code.</description>
		<content:encoded><![CDATA[<p>Some thoughts on your java code:</p>
<p>-  new Date(1,1,1935) is deprecated. you can use GregorianCalendar instead. Java 7 will have better datetime handlin tough.</p>
<p>-  you can use static import for  SongType in Java code, it would reduce the code crowd. as:   SongType.TRAD_JAZZ -&gt; TRAD_JAZZ</p>
<p>Lastly, </p>
<p>if (song.isMp3Type(Mp3Jazz.class) sounds a little awkward to me. it smells a little but cannot say much before i see the full code.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
