<?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 For Java (and C#) Programmers, Part 1 - Conventions, methods, modules, and&#160;classes</title>
	<atom:link href="http://www.magpiebrain.com/blog/2005/06/13/ruby-for-java-and-c-programmers-part-1-conventions-methods-modules-and-classes/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.magpiebrain.com/blog/2005/06/13/ruby-for-java-and-c-programmers-part-1-conventions-methods-modules-and-classes/</link>
	<description>Sam Newman's blog</description>
	<pubDate>Sat, 05 Jul 2008 00:46:43 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Adam Jenkins</title>
		<link>http://www.magpiebrain.com/blog/2005/06/13/ruby-for-java-and-c-programmers-part-1-conventions-methods-modules-and-classes/#comment-757</link>
		<dc:creator>Adam Jenkins</dc:creator>
		<pubDate>Fri, 01 Jul 2005 19:42:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2005/06/13/ruby-for-java-and-c-programmers-part-1-conventions-methods-modules-and-classes/#comment-757</guid>
		<description>You got the comments about private methods backward.  You show this for private methods:

self.do_stuff #Allowed
do_stuff      #Not allowed

But it's really the other way around:

self.do_stuff # Not Allowed
do_stuff      # allowed
</description>
		<content:encoded><![CDATA[<p>You got the comments about private methods backward.  You show this for private methods:</p>
<p>self.do_stuff #Allowed<br />
do_stuff      #Not allowed</p>
<p>But it&#8217;s really the other way around:</p>
<p>self.do_stuff # Not Allowed<br />
do_stuff      # allowed</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam Newman</title>
		<link>http://www.magpiebrain.com/blog/2005/06/13/ruby-for-java-and-c-programmers-part-1-conventions-methods-modules-and-classes/#comment-756</link>
		<dc:creator>Sam Newman</dc:creator>
		<pubDate>Wed, 15 Jun 2005 09:06:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2005/06/13/ruby-for-java-and-c-programmers-part-1-conventions-methods-modules-and-classes/#comment-756</guid>
		<description>Gah - the layout problems are a recent thing (damn dynamic sites) - I think a bit of the sidebar content is pushing things out. Will resolve it asap. And for the record, I'm an IE, Firefox and Safari user - I'll grab Opera and see what the problem with posting is (which version by the way?).</description>
		<content:encoded><![CDATA[<p>Gah &#8211; the layout problems are a recent thing (damn dynamic sites) &#8211; I think a bit of the sidebar content is pushing things out. Will resolve it asap. And for the record, I&#8217;m an <acronym title="Internet Explorer">IE</acronym>, Firefox and Safari user &#8211; I&#8217;ll grab Opera and see what the problem with posting is (which version by the way?).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: simonsays</title>
		<link>http://www.magpiebrain.com/blog/2005/06/13/ruby-for-java-and-c-programmers-part-1-conventions-methods-modules-and-classes/#comment-755</link>
		<dc:creator>simonsays</dc:creator>
		<pubDate>Tue, 14 Jun 2005 20:34:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2005/06/13/ruby-for-java-and-c-programmers-part-1-conventions-methods-modules-and-classes/#comment-755</guid>
		<description>keep it up.. i will enjoy this blog :)

btw i can't post with Opera
and the layout is fucked up in IE
.. let me guess you are a firefox user..</description>
		<content:encoded><![CDATA[<p>keep it up.. i will enjoy this blog :)</p>
<p><acronym title="By The Way">BTW</acronym> i can&#8217;t post with Opera<br />
and the layout is fucked up in <acronym title="Internet Explorer">IE</acronym><br />
.. let me guess you are a firefox user..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam Newman</title>
		<link>http://www.magpiebrain.com/blog/2005/06/13/ruby-for-java-and-c-programmers-part-1-conventions-methods-modules-and-classes/#comment-754</link>
		<dc:creator>Sam Newman</dc:creator>
		<pubDate>Tue, 14 Jun 2005 17:09:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2005/06/13/ruby-for-java-and-c-programmers-part-1-conventions-methods-modules-and-classes/#comment-754</guid>
		<description>Thanks all - keep the feedback coming. There are some loose ends from this part I'm going to be covering in part two (more on methods and classes) so I'll be talking about typing in part three. Let me know if there is anything in particular you'd like to see covered.</description>
		<content:encoded><![CDATA[<p>Thanks all &#8211; keep the feedback coming. There are some loose ends from this part I&#8217;m going to be covering in part two (more on methods and classes) so I&#8217;ll be talking about typing in part three. Let me know if there is anything in particular you&#8217;d like to see covered.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: depeupleur</title>
		<link>http://www.magpiebrain.com/blog/2005/06/13/ruby-for-java-and-c-programmers-part-1-conventions-methods-modules-and-classes/#comment-753</link>
		<dc:creator>depeupleur</dc:creator>
		<pubDate>Tue, 14 Jun 2005 16:31:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2005/06/13/ruby-for-java-and-c-programmers-part-1-conventions-methods-modules-and-classes/#comment-753</guid>
		<description>nicely done</description>
		<content:encoded><![CDATA[<p>nicely done</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Popescu</title>
		<link>http://www.magpiebrain.com/blog/2005/06/13/ruby-for-java-and-c-programmers-part-1-conventions-methods-modules-and-classes/#comment-752</link>
		<dc:creator>Alex Popescu</dc:creator>
		<pubDate>Tue, 14 Jun 2005 15:45:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2005/06/13/ruby-for-java-and-c-programmers-part-1-conventions-methods-modules-and-classes/#comment-752</guid>
		<description>Nice entry!

Some more corrections:
[quote]
The current recommendation is to use parameters* when you have arguments [...]
[/quote]

should be
[quote]
The current recommendation is to use paranthesis* when you have arguments [...]
[/quote]

and later same paragraph:
appreciate - but this is allowed :-).

thanks,
:alex &#124;.::the_mindstorm::.&#124;</description>
		<content:encoded><![CDATA[<p>Nice entry!</p>
<p>Some more corrections:<br />
[quote]<br />
The current recommendation is to use parameters* when you have arguments [...]<br />
[/quote]</p>
<p>should be<br />
[quote]<br />
The current recommendation is to use paranthesis* when you have arguments [...]<br />
[/quote]</p>
<p>and later same paragraph:<br />
appreciate &#8211; but this is allowed :-).</p>
<p>thanks,<br />
:alex |.::the_mindstorm::.|</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam Newman</title>
		<link>http://www.magpiebrain.com/blog/2005/06/13/ruby-for-java-and-c-programmers-part-1-conventions-methods-modules-and-classes/#comment-751</link>
		<dc:creator>Sam Newman</dc:creator>
		<pubDate>Tue, 14 Jun 2005 14:40:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2005/06/13/ruby-for-java-and-c-programmers-part-1-conventions-methods-modules-and-classes/#comment-751</guid>
		<description>Thanks for the clarification Jon (and spotting the typo Eliot!) - another update coming up...</description>
		<content:encoded><![CDATA[<p>Thanks for the clarification Jon (and spotting the typo Eliot!) &#8211; another update coming up&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Tirsen</title>
		<link>http://www.magpiebrain.com/blog/2005/06/13/ruby-for-java-and-c-programmers-part-1-conventions-methods-modules-and-classes/#comment-750</link>
		<dc:creator>Jon Tirsen</dc:creator>
		<pubDate>Tue, 14 Jun 2005 13:15:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2005/06/13/ruby-for-java-and-c-programmers-part-1-conventions-methods-modules-and-classes/#comment-750</guid>
		<description>Great article.

Clarification on CamelCase versus under_score: under_scores are used in all identifiers (methods, variables etc) *except* class names and module names in which case CamelCase should be used.

(These identifiers must start with upper case letters as constants in Ruby are indicated using first letter upper case. Modules and classes are just object like everything else in Ruby, and these objects are bound to constants.)</description>
		<content:encoded><![CDATA[<p>Great article.</p>
<p>Clarification on CamelCase versus under_score: under_scores are used in all identifiers (methods, variables etc) <strong>except</strong> class names and module names in which case CamelCase should be used.</p>
<p>(These identifiers must start with upper case letters as constants in Ruby are indicated using first letter upper case. Modules and classes are just object like everything else in Ruby, and these objects are bound to constants.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eliot Sykes</title>
		<link>http://www.magpiebrain.com/blog/2005/06/13/ruby-for-java-and-c-programmers-part-1-conventions-methods-modules-and-classes/#comment-749</link>
		<dc:creator>Eliot Sykes</dc:creator>
		<pubDate>Tue, 14 Jun 2005 09:30:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2005/06/13/ruby-for-java-and-c-programmers-part-1-conventions-methods-modules-and-classes/#comment-749</guid>
		<description>Hi Sam, thanks for the article - very helpful and succint, perfect for Java-heads like me learning Ruby.

I noticed in the last code snippet, that "protected :this_is_a_private_method, this_is_also_private" should be "private: ...."</description>
		<content:encoded><![CDATA[<p>Hi Sam, thanks for the article &#8211; very helpful and succint, perfect for Java-heads like me learning Ruby.</p>
<p>I noticed in the last code snippet, that &#8220;protected :this_is_a_private_method, this_is_also_private&#8221; should be &#8220;private: ....&#8221; </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay Feng</title>
		<link>http://www.magpiebrain.com/blog/2005/06/13/ruby-for-java-and-c-programmers-part-1-conventions-methods-modules-and-classes/#comment-748</link>
		<dc:creator>Jay Feng</dc:creator>
		<pubDate>Tue, 14 Jun 2005 04:32:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2005/06/13/ruby-for-java-and-c-programmers-part-1-conventions-methods-modules-and-classes/#comment-748</guid>
		<description>Thanks! I was looking for something like this.</description>
		<content:encoded><![CDATA[<p>Thanks! I was looking for something like this.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
