<?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: The beauty of Cocoa</title>
	<atom:link href="http://kosmaczewski.net/2008/07/08/the-beauty-of-cocoa/feed/" rel="self" type="application/rss+xml" />
	<link>http://kosmaczewski.net/2008/07/08/the-beauty-of-cocoa/</link>
	<description>sin incertidumbre no hay novedad, sin novedad posible no hay más que repetición y, por lo tanto, negación del otro como un ser libre: el ser libre es un ser incierto. (adrian mancuso)</description>
	<lastBuildDate>Sat, 13 Mar 2010 11:33:20 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Adrian</title>
		<link>http://kosmaczewski.net/2008/07/08/the-beauty-of-cocoa/comment-page-1/#comment-17152</link>
		<dc:creator>Adrian</dc:creator>
		<pubDate>Tue, 08 Jul 2008 19:35:42 +0000</pubDate>
		<guid isPermaLink="false">http://kosmaczewski.net/?p=1229#comment-17152</guid>
		<description>OK, let&#039;s put things in context. Ruby is Ruby, and I love it for what I can do with it in Rails. The &quot;level of noise&quot; is purely subjective, as you can have an even shorter variant &quot;Person()&quot; in Python... I think that, as a compiled language, ObjC does great things, and it provides a level of flexibility that other similar languages (C++, to name its closest cousin) do not offer. 
Not to mention speed of execution.
And by the way, the original comment was about the &quot;beauty of Cocoa&quot; and not of ObjC specifically ;)
Thanks for your input!</description>
		<content:encoded><![CDATA[<p>OK, let&#8217;s put things in context. Ruby is Ruby, and I love it for what I can do with it in Rails. The &#8220;level of noise&#8221; is purely subjective, as you can have an even shorter variant &#8220;Person()&#8221; in Python&#8230; I think that, as a compiled language, ObjC does great things, and it provides a level of flexibility that other similar languages (C++, to name its closest cousin) do not offer.<br />
Not to mention speed of execution.<br />
And by the way, the original comment was about the &#8220;beauty of Cocoa&#8221; and not of ObjC specifically ;)<br />
Thanks for your input!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Barry</title>
		<link>http://kosmaczewski.net/2008/07/08/the-beauty-of-cocoa/comment-page-1/#comment-17151</link>
		<dc:creator>Paul Barry</dc:creator>
		<pubDate>Tue, 08 Jul 2008 18:31:12 +0000</pubDate>
		<guid isPermaLink="false">http://kosmaczewski.net/?p=1229#comment-17151</guid>
		<description>Seriously?  You prefer 53 lines of code over 9?  And consider that this is doing it the &quot;hard way&quot;.  You can easily hide away the complexity of the last two lines in the Ruby way and make it part of the object&#039;s constructor, as is done in Rails:

    Person.new(:first_name =&gt; &quot;Teto&quot;, :last_name =&gt; &quot;Rodriguez&quot;, :age =&gt; 34)

I don&#039;t see how it could get anymore beautiful than that.  I agree that compared to C, ObjC is beautiful, but there&#039;s too much line noise in ObjC: 

    Person* person = [[[Person alloc] init] autorelease];

When compared to Ruby:

    Person.new</description>
		<content:encoded><![CDATA[<p>Seriously?  You prefer 53 lines of code over 9?  And consider that this is doing it the &#8220;hard way&#8221;.  You can easily hide away the complexity of the last two lines in the Ruby way and make it part of the object&#8217;s constructor, as is done in Rails:</p>
<p>    Person.new(:first_name =&gt; &#8220;Teto&#8221;, :last_name =&gt; &#8220;Rodriguez&#8221;, :age =&gt; 34)</p>
<p>I don&#8217;t see how it could get anymore beautiful than that.  I agree that compared to C, ObjC is beautiful, but there&#8217;s too much line noise in ObjC: </p>
<p>    Person* person = [[[Person alloc] init] autorelease];</p>
<p>When compared to Ruby:</p>
<p>    Person.new</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian</title>
		<link>http://kosmaczewski.net/2008/07/08/the-beauty-of-cocoa/comment-page-1/#comment-17150</link>
		<dc:creator>Adrian</dc:creator>
		<pubDate>Tue, 08 Jul 2008 18:22:32 +0000</pubDate>
		<guid isPermaLink="false">http://kosmaczewski.net/?p=1229#comment-17150</guid>
		<description>Thanks for your comment Paul! I still prefer the ObjC version though :)</description>
		<content:encoded><![CDATA[<p>Thanks for your comment Paul! I still prefer the ObjC version though :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Barry</title>
		<link>http://kosmaczewski.net/2008/07/08/the-beauty-of-cocoa/comment-page-1/#comment-17149</link>
		<dc:creator>Paul Barry</dc:creator>
		<pubDate>Tue, 08 Jul 2008 17:31:14 +0000</pubDate>
		<guid isPermaLink="false">http://kosmaczewski.net/?p=1229#comment-17149</guid>
		<description>class Person
  attr_accessor :first_name, :last_name, :age
  def to_s
    &quot;Name: #{first_name} #{last_name}, #{age} years old&quot;
  end
end

map = {&quot;first_name&quot;=&gt;&quot;Teto&quot;, &quot;last_name&quot;=&gt;&quot;Rodriguez&quot;, &quot;age&quot;=&gt;34}
puts map.inject(Person.new){&#124;p,(k,v)&#124; p.send &quot;#{k}=&quot;, v; p}</description>
		<content:encoded><![CDATA[<p>class Person<br />
  attr_accessor :first_name, :last_name, :age<br />
  def to_s<br />
    &#8220;Name: #{first_name} #{last_name}, #{age} years old&#8221;<br />
  end<br />
end</p>
<p>map = {&#8220;first_name&#8221;=&gt;&#8221;Teto&#8221;, &#8220;last_name&#8221;=&gt;&#8221;Rodriguez&#8221;, &#8220;age&#8221;=&gt;34}<br />
puts map.inject(Person.new){|p,(k,v)| p.send &#8220;#{k}=&#8221;, v; p}</p>
]]></content:encoded>
	</item>
</channel>
</rss>
