<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.3" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Learning a Thing or Two from Ruby</title>
	<link>http://andymatuschak.org/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fandymatuschak.org%2Farticles%2F2007%2F10%2F26%2Flearning-a-thing-or-two-from-ruby%2F&amp;seed_title=Learning+a+Thing+or+Two+from+Ruby</link>
	<description>Flying through the universe of code on a talking spaceship!</description>
	<pubDate>Mon, 06 Oct 2008 13:10:12 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.3</generator>

	<item>
		<title>By: Blacktiger</title>
		<link>http://andymatuschak.org/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fandymatuschak.org%2Farticles%2F2007%2F10%2F26%2Flearning-a-thing-or-two-from-ruby%2F&amp;seed_title=Learning+a+Thing+or+Two+from+Ruby#comment-6285</link>
		<dc:creator>Blacktiger</dc:creator>
		<pubDate>Thu, 31 Jan 2008 18:02:17 +0000</pubDate>
		<guid>http://andymatuschak.org/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fandymatuschak.org%2Farticles%2F2007%2F10%2F26%2Flearning-a-thing-or-two-from-ruby%2F&amp;seed_title=Learning+a+Thing+or+Two+from+Ruby#comment-6285</guid>
		<description>I thought up an interesting way to still use square brackets, but eliminate the need to go back to the beginning of a line a while back. Instead of [receiver message], you move the receiver out to reciever[message]. The nice thing about this is you can then chain messages together. receiver[message1][message2] would be equivalent to (receiver[message1])[message2].</description>
		<content:encoded><![CDATA[<p>I thought up an interesting way to still use square brackets, but eliminate the need to go back to the beginning of a line a while back. Instead of [receiver message], you move the receiver out to reciever[message]. The nice thing about this is you can then chain messages together. receiver[message1][message2] would be equivalent to (receiver[message1])[message2].</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Benjamin Stiglitz</title>
		<link>http://andymatuschak.org/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fandymatuschak.org%2Farticles%2F2007%2F10%2F26%2Flearning-a-thing-or-two-from-ruby%2F&amp;seed_title=Learning+a+Thing+or+Two+from+Ruby#comment-3991</link>
		<dc:creator>Benjamin Stiglitz</dc:creator>
		<pubDate>Sat, 03 Nov 2007 00:21:26 +0000</pubDate>
		<guid>http://andymatuschak.org/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fandymatuschak.org%2Farticles%2F2007%2F10%2F26%2Flearning-a-thing-or-two-from-ruby%2F&amp;seed_title=Learning+a+Thing+or+Two+from+Ruby#comment-3991</guid>
		<description>What we need is a Ruby built on top of the Objective-C runtime. It’d have to limit language like singleton methods, but it’d still be a huge step.</description>
		<content:encoded><![CDATA[<p>What we need is a Ruby built on top of the Objective-C runtime. It’d have to limit language like singleton methods, but it’d still be a huge step.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RubyCocoa Shininess in Leopard</title>
		<link>http://andymatuschak.org/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fandymatuschak.org%2Farticles%2F2007%2F10%2F26%2Flearning-a-thing-or-two-from-ruby%2F&amp;seed_title=Learning+a+Thing+or+Two+from+Ruby#comment-3975</link>
		<dc:creator>RubyCocoa Shininess in Leopard</dc:creator>
		<pubDate>Tue, 30 Oct 2007 22:52:28 +0000</pubDate>
		<guid>http://andymatuschak.org/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fandymatuschak.org%2Farticles%2F2007%2F10%2F26%2Flearning-a-thing-or-two-from-ruby%2F&amp;seed_title=Learning+a+Thing+or+Two+from+Ruby#comment-3975</guid>
		<description>[...] maybe Apple agrees with my sentiments after all. Check out /Developer/Examples/Ruby/RubyCocoa&#8212; there&#8217;s 40 examples there! [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] maybe Apple agrees with my sentiments after all. Check out /Developer/Examples/Ruby/RubyCocoa&mdash; there&#8217;s 40 examples there! [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Matuschak</title>
		<link>http://andymatuschak.org/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fandymatuschak.org%2Farticles%2F2007%2F10%2F26%2Flearning-a-thing-or-two-from-ruby%2F&amp;seed_title=Learning+a+Thing+or+Two+from+Ruby#comment-3966</link>
		<dc:creator>Andy Matuschak</dc:creator>
		<pubDate>Mon, 29 Oct 2007 22:22:00 +0000</pubDate>
		<guid>http://andymatuschak.org/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fandymatuschak.org%2Farticles%2F2007%2F10%2F26%2Flearning-a-thing-or-two-from-ruby%2F&amp;seed_title=Learning+a+Thing+or+Two+from+Ruby#comment-3966</guid>
		<description>Agreed. Like Nu but not. Alternately, I really like Ruby. So maybe just make RubyCocoa better.</description>
		<content:encoded><![CDATA[<p>Agreed. Like Nu but not. Alternately, I really like Ruby. So maybe just make RubyCocoa better.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesper</title>
		<link>http://andymatuschak.org/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fandymatuschak.org%2Farticles%2F2007%2F10%2F26%2Flearning-a-thing-or-two-from-ruby%2F&amp;seed_title=Learning+a+Thing+or+Two+from+Ruby#comment-3965</link>
		<dc:creator>Jesper</dc:creator>
		<pubDate>Mon, 29 Oct 2007 21:43:53 +0000</pubDate>
		<guid>http://andymatuschak.org/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fandymatuschak.org%2Farticles%2F2007%2F10%2F26%2Flearning-a-thing-or-two-from-ruby%2F&amp;seed_title=Learning+a+Thing+or+Two+from+Ruby#comment-3965</guid>
		<description>I should qualify my statement more:

"For Objective-C to be a greater language in terms of syntax, it’d also have to stop being Objective-C, in my opinion."

That doesn't mean that I can't imagine a syntactically improved version of Objective-C. It means that Objective-C right now really is a superset of C, and that the same changes to it that would make it a better Objective-C would also make it a bastardized superset (like C++).

I think the better way to go would be to introduce an entirely new language, going hand in hand with Objective-C.</description>
		<content:encoded><![CDATA[<p>I should qualify my statement more:</p>
<p>&#8220;For Objective-C to be a greater language in terms of syntax, it’d also have to stop being Objective-C, in my opinion.&#8221;</p>
<p>That doesn&#8217;t mean that I can&#8217;t imagine a syntactically improved version of Objective-C. It means that Objective-C right now really is a superset of C, and that the same changes to it that would make it a better Objective-C would also make it a bastardized superset (like C++).</p>
<p>I think the better way to go would be to introduce an entirely new language, going hand in hand with Objective-C.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Matuschak</title>
		<link>http://andymatuschak.org/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fandymatuschak.org%2Farticles%2F2007%2F10%2F26%2Flearning-a-thing-or-two-from-ruby%2F&amp;seed_title=Learning+a+Thing+or+Two+from+Ruby#comment-3963</link>
		<dc:creator>Andy Matuschak</dc:creator>
		<pubDate>Mon, 29 Oct 2007 17:12:36 +0000</pubDate>
		<guid>http://andymatuschak.org/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fandymatuschak.org%2Farticles%2F2007%2F10%2F26%2Flearning-a-thing-or-two-from-ruby%2F&amp;seed_title=Learning+a+Thing+or+Two+from+Ruby#comment-3963</guid>
		<description>&lt;blockquote&gt;For Objective-C to be a greater language in terms of syntax, it’d also have to stop being Objective-C, in my opinion.&lt;/blockquote&gt;

You're right. I think Ahruman had it right when he said:

&lt;blockquote&gt;It’s a bit depressing how we all keep getting enthused over what are, really, common language features that have been around for ages. Basically, what we need is a high-level language that’s fully integrated into the Objective-C object model/runtime.&lt;/blockquote&gt;

Even more awesome would be the ability to drop down into C when you need to for efficiency.

Thanks for the corrections, guys.</description>
		<content:encoded><![CDATA[<blockquote><p>For Objective-C to be a greater language in terms of syntax, it’d also have to stop being Objective-C, in my opinion.</p></blockquote>
<p>You&#8217;re right. I think Ahruman had it right when he said:</p>
<blockquote><p>It’s a bit depressing how we all keep getting enthused over what are, really, common language features that have been around for ages. Basically, what we need is a high-level language that’s fully integrated into the Objective-C object model/runtime.</p></blockquote>
<p>Even more awesome would be the ability to drop down into C when you need to for efficiency.</p>
<p>Thanks for the corrections, guys.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kontextbewusst* &#187; Blog Archive &#187; DAS wäre wirklich ein Grund zum Updaten&#8230;</title>
		<link>http://andymatuschak.org/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fandymatuschak.org%2Farticles%2F2007%2F10%2F26%2Flearning-a-thing-or-two-from-ruby%2F&amp;seed_title=Learning+a+Thing+or+Two+from+Ruby#comment-3959</link>
		<dc:creator>kontextbewusst* &#187; Blog Archive &#187; DAS wäre wirklich ein Grund zum Updaten&#8230;</dc:creator>
		<pubDate>Sun, 28 Oct 2007 11:51:26 +0000</pubDate>
		<guid>http://andymatuschak.org/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fandymatuschak.org%2Farticles%2F2007%2F10%2F26%2Flearning-a-thing-or-two-from-ruby%2F&amp;seed_title=Learning+a+Thing+or+Two+from+Ruby#comment-3959</guid>
		<description>[...] learning a thing or two from ruby Andy Matuschak, Square Signals [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] learning a thing or two from ruby Andy Matuschak, Square Signals [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: freno</title>
		<link>http://andymatuschak.org/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fandymatuschak.org%2Farticles%2F2007%2F10%2F26%2Flearning-a-thing-or-two-from-ruby%2F&amp;seed_title=Learning+a+Thing+or+Two+from+Ruby#comment-3956</link>
		<dc:creator>freno</dc:creator>
		<pubDate>Sat, 27 Oct 2007 16:51:29 +0000</pubDate>
		<guid>http://andymatuschak.org/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fandymatuschak.org%2Farticles%2F2007%2F10%2F26%2Flearning-a-thing-or-two-from-ruby%2F&amp;seed_title=Learning+a+Thing+or+Two+from+Ruby#comment-3956</guid>
		<description>"Ruby doesn’t have a for loop."

But you can do something like:

ruby -e 'for x in 1..10; puts x end'

ruby -e 'for x in 1..10 do puts x end'

(it's used in http://snippets.dzone.com/posts/show/4700 , for example).</description>
		<content:encoded><![CDATA[<p>&#8220;Ruby doesn’t have a for loop.&#8221;</p>
<p>But you can do something like:</p>
<p>ruby -e &#8216;for x in 1..10; puts x end&#8217;</p>
<p>ruby -e &#8216;for x in 1..10 do puts x end&#8217;</p>
<p>(it&#8217;s used in <a href="http://snippets.dzone.com/posts/show/4700" rel="nofollow">http://snippets.dzone.com/posts/show/4700</a> , for example).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ahruman</title>
		<link>http://andymatuschak.org/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fandymatuschak.org%2Farticles%2F2007%2F10%2F26%2Flearning-a-thing-or-two-from-ruby%2F&amp;seed_title=Learning+a+Thing+or+Two+from+Ruby#comment-3954</link>
		<dc:creator>Ahruman</dc:creator>
		<pubDate>Sat, 27 Oct 2007 12:45:01 +0000</pubDate>
		<guid>http://andymatuschak.org/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fandymatuschak.org%2Farticles%2F2007%2F10%2F26%2Flearning-a-thing-or-two-from-ruby%2F&amp;seed_title=Learning+a+Thing+or+Two+from+Ruby#comment-3954</guid>
		<description>Your Objective-C dictionary example is broken. 4, 9 and 10 aren’t objects.

It’s a bit depressing how we all keep getting enthused over what are, really, common language features that have been around for ages. Basically, what we need is a high-level language that’s fully integrated into the Objective-C object model/runtime. For a while, Nu looked like it might be it, but no.

Oh, and there’s a missing ' in “params = {:action =&#62; 'posts', :controller =&#62; 'blog,…”</description>
		<content:encoded><![CDATA[<p>Your Objective-C dictionary example is broken. 4, 9 and 10 aren’t objects.</p>
<p>It’s a bit depressing how we all keep getting enthused over what are, really, common language features that have been around for ages. Basically, what we need is a high-level language that’s fully integrated into the Objective-C object model/runtime. For a while, Nu looked like it might be it, but no.</p>
<p>Oh, and there’s a missing &#8216; in “params = {:action =&gt; &#8216;posts&#8217;, :controller =&gt; &#8216;blog,…”</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesper</title>
		<link>http://andymatuschak.org/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fandymatuschak.org%2Farticles%2F2007%2F10%2F26%2Flearning-a-thing-or-two-from-ruby%2F&amp;seed_title=Learning+a+Thing+or+Two+from+Ruby#comment-3953</link>
		<dc:creator>Jesper</dc:creator>
		<pubDate>Sat, 27 Oct 2007 11:22:46 +0000</pubDate>
		<guid>http://andymatuschak.org/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fandymatuschak.org%2Farticles%2F2007%2F10%2F26%2Flearning-a-thing-or-two-from-ruby%2F&amp;seed_title=Learning+a+Thing+or+Two+from+Ruby#comment-3953</guid>
		<description>Actually, from what I hear, one of the last things they shoehorned into 10.5 was IB knowing about Ruby Cocoa idioms and being able to tell and generate outlets and actions.

But you're also right that it rocks on the whole though. :)

Apple's right about not wanting to descend into C++. Making dictionary and array access simple would require either one-off compiler secret sauce (for 'special objects', that's bad - the syntax of for(x in y) and properties have all been *available*) or introduction of things like operator overloading (famously offered so thoroughly in C++ to the extent that you have to override the fucking assignment operator (=) when you want objects of your classes to be assignable). 

For Objective-C to be a greater language in terms of syntax, it'd also have to stop being Objective-C, in my opinion. I don't envy whoever's in charge (bbum has said that he's been responsible for Objective-C 2.0) because this is going to be tricky to sort out.</description>
		<content:encoded><![CDATA[<p>Actually, from what I hear, one of the last things they shoehorned into 10.5 was IB knowing about Ruby Cocoa idioms and being able to tell and generate outlets and actions.</p>
<p>But you&#8217;re also right that it rocks on the whole though. :)</p>
<p>Apple&#8217;s right about not wanting to descend into C++. Making dictionary and array access simple would require either one-off compiler secret sauce (for &#8217;special objects&#8217;, that&#8217;s bad - the syntax of for(x in y) and properties have all been *available*) or introduction of things like operator overloading (famously offered so thoroughly in C++ to the extent that you have to override the fucking assignment operator (=) when you want objects of your classes to be assignable). </p>
<p>For Objective-C to be a greater language in terms of syntax, it&#8217;d also have to stop being Objective-C, in my opinion. I don&#8217;t envy whoever&#8217;s in charge (bbum has said that he&#8217;s been responsible for Objective-C 2.0) because this is going to be tricky to sort out.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
