<?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: A programmer&#8217;s first language is?</title>
	<atom:link href="http://buhjillions.spikecurtis.com/a-programmers-first-language-is/feed/" rel="self" type="application/rss+xml" />
	<link>http://buhjillions.spikecurtis.com/a-programmers-first-language-is/</link>
	<description></description>
	<lastBuildDate>Sat, 04 Sep 2010 23:04:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Matt</title>
		<link>http://buhjillions.spikecurtis.com/a-programmers-first-language-is/comment-page-1/#comment-30</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Tue, 29 Jul 2008 11:28:19 +0000</pubDate>
		<guid isPermaLink="false">http://buhjillions.wordpress.com/?p=41#comment-30</guid>
		<description>I second the vote for Scheme.  As a bonus, the book &#039;The Structure and Interpretation of Computer Programs&#039; is available on-line: http://mitpress.mit.edu/sicp/full-text/book/book.html
Once you get used to passing around functions as first-class variables any other programming language becomes easy :)</description>
		<content:encoded><![CDATA[<p>I second the vote for Scheme.  As a bonus, the book &#8216;The Structure and Interpretation of Computer Programs&#8217; is available on-line: <a href="http://mitpress.mit.edu/sicp/full-text/book/book.html" rel="nofollow">http://mitpress.mit.edu/sicp/full-text/book/book.html</a><br />
Once you get used to passing around functions as first-class variables any other programming language becomes easy <img src='http://buhjillions.spikecurtis.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chuck Esterbrook</title>
		<link>http://buhjillions.spikecurtis.com/a-programmers-first-language-is/comment-page-1/#comment-29</link>
		<dc:creator>Chuck Esterbrook</dc:creator>
		<pubDate>Tue, 29 Jul 2008 03:15:47 +0000</pubDate>
		<guid isPermaLink="false">http://buhjillions.wordpress.com/?p=41#comment-29</guid>
		<description>Another option is Cobra which combines the syntax of Python with features found in Java, C#, Objective-C and Eiffel. It has stronger error checking than Python among other advantages. See the &quot;Comparison to Python&quot; document on the site. Disclosure: I&#039;m the author of Cobra (and long time Python user).</description>
		<content:encoded><![CDATA[<p>Another option is Cobra which combines the syntax of Python with features found in Java, C#, Objective-C and Eiffel. It has stronger error checking than Python among other advantages. See the &#8220;Comparison to Python&#8221; document on the site. Disclosure: I&#8217;m the author of Cobra (and long time Python user).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Spike</title>
		<link>http://buhjillions.spikecurtis.com/a-programmers-first-language-is/comment-page-1/#comment-35</link>
		<dc:creator>Spike</dc:creator>
		<pubDate>Tue, 29 Jul 2008 00:43:48 +0000</pubDate>
		<guid isPermaLink="false">http://buhjillions.wordpress.com/?p=41#comment-35</guid>
		<description>Ok, you got me.  Too lazy to actually install a Java interpreter :)

Sharma, Carl, &amp; Adam: You&#039;re right, there are easier ways involving the special features of Python (and presumably the same is true for Java code), but I want to get at the difference in the style of the syntax, and it&#039;s hard to do that with just one line.  I think the best way to make that comparison is to look at code which does the same thing in roughly the same way.  Got any better examples which show this stylistic difference?</description>
		<content:encoded><![CDATA[<p>Ok, you got me.  Too lazy to actually install a Java interpreter <img src='http://buhjillions.spikecurtis.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Sharma, Carl, &amp; Adam: You&#8217;re right, there are easier ways involving the special features of Python (and presumably the same is true for Java code), but I want to get at the difference in the style of the syntax, and it&#8217;s hard to do that with just one line.  I think the best way to make that comparison is to look at code which does the same thing in roughly the same way.  Got any better examples which show this stylistic difference?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tgdavies</title>
		<link>http://buhjillions.spikecurtis.com/a-programmers-first-language-is/comment-page-1/#comment-34</link>
		<dc:creator>tgdavies</dc:creator>
		<pubDate>Mon, 28 Jul 2008 22:01:44 +0000</pubDate>
		<guid isPermaLink="false">http://buhjillions.wordpress.com/?p=41#comment-34</guid>
		<description>Your Java doesn&#039;t compile. Try:

        String phrase = &quot;I am Jack&#039;s Colon.&quot;;
        int count = 0;
        for (Character c : phrase.toCharArray()) {
            if (c == &#039;a&#039;) {
                ++count;
            }
        }
        System.out.println(count);</description>
		<content:encoded><![CDATA[<p>Your Java doesn&#8217;t compile. Try:</p>
<p>        String phrase = &#8220;I am Jack&#8217;s Colon.&#8221;;<br />
        int count = 0;<br />
        for (Character c : phrase.toCharArray()) {<br />
            if (c == &#8216;a&#8217;) {<br />
                ++count;<br />
            }<br />
        }<br />
        System.out.println(count);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://buhjillions.spikecurtis.com/a-programmers-first-language-is/comment-page-1/#comment-33</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Mon, 28 Jul 2008 14:49:55 +0000</pubDate>
		<guid isPermaLink="false">http://buhjillions.wordpress.com/?p=41#comment-33</guid>
		<description>or... len(filter(lambda x: x==&#039;a&#039;, phrase))</description>
		<content:encoded><![CDATA[<p>or&#8230; len(filter(lambda x: x==&#8217;a', phrase))</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christoph Hack</title>
		<link>http://buhjillions.spikecurtis.com/a-programmers-first-language-is/comment-page-1/#comment-32</link>
		<dc:creator>Christoph Hack</dc:creator>
		<pubDate>Mon, 28 Jul 2008 14:40:04 +0000</pubDate>
		<guid isPermaLink="false">http://buhjillions.wordpress.com/?p=41#comment-32</guid>
		<description>and here is an example with strings:
&gt;&gt;&gt; &#039;foobar&#039; is &#039;FOOBAR&#039;.lower()
False
&gt;&gt;&gt; &#039;foobar&#039; == &#039;FOOBAR&#039;.lower()
True

So, please use the right operators :)</description>
		<content:encoded><![CDATA[<p>and here is an example with strings:<br />
&gt;&gt;&gt; &#8216;foobar&#8217; is &#8216;FOOBAR&#8217;.lower()<br />
False<br />
&gt;&gt;&gt; &#8216;foobar&#8217; == &#8216;FOOBAR&#8217;.lower()<br />
True</p>
<p>So, please use the right operators <img src='http://buhjillions.spikecurtis.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christoph Hack</title>
		<link>http://buhjillions.spikecurtis.com/a-programmers-first-language-is/comment-page-1/#comment-37</link>
		<dc:creator>Christoph Hack</dc:creator>
		<pubDate>Mon, 28 Jul 2008 14:36:45 +0000</pubDate>
		<guid isPermaLink="false">http://buhjillions.wordpress.com/?p=41#comment-37</guid>
		<description>But there are also things you should care about in python too, even in those short programs. The identity operator &quot;is&quot;, isn&#039;t right in this example, you should use &quot;==&quot;, which checks for equality. Otherwise you could get some bugs, which aren&#039;t easy to locate... (e.g.  10000 is 9999+1  vs.  10000 == 9999+1)</description>
		<content:encoded><![CDATA[<p>But there are also things you should care about in python too, even in those short programs. The identity operator &#8220;is&#8221;, isn&#8217;t right in this example, you should use &#8220;==&#8221;, which checks for equality. Otherwise you could get some bugs, which aren&#8217;t easy to locate&#8230; (e.g.  10000 is 9999+1  vs.  10000 == 9999+1)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carl</title>
		<link>http://buhjillions.spikecurtis.com/a-programmers-first-language-is/comment-page-1/#comment-36</link>
		<dc:creator>Carl</dc:creator>
		<pubDate>Mon, 28 Jul 2008 12:45:52 +0000</pubDate>
		<guid isPermaLink="false">http://buhjillions.wordpress.com/?p=41#comment-36</guid>
		<description>Also on Reddit, someone pointed out that reinventing the wheel is dumb: &lt;code&gt;&quot;I am Jack&#039;s Colon.&quot;.count(&quot;a&quot;)&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Also on Reddit, someone pointed out that reinventing the wheel is dumb: <code>"I am Jack's Colon.".count("a")</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sharma</title>
		<link>http://buhjillions.spikecurtis.com/a-programmers-first-language-is/comment-page-1/#comment-38</link>
		<dc:creator>Sharma</dc:creator>
		<pubDate>Mon, 28 Jul 2008 10:56:58 +0000</pubDate>
		<guid isPermaLink="false">http://buhjillions.wordpress.com/?p=41#comment-38</guid>
		<description>Hey, I came here from Reddit; and one commenter pointed outdo that there&#039;s a slightly more idiomatic way of doing that in Python:

print sum(letter is &quot;a&quot; for letter in &quot;I am Jack&#039;s Colon.&quot;)

Python is easy, but it&#039;s the idioms that really make the language look good.</description>
		<content:encoded><![CDATA[<p>Hey, I came here from Reddit; and one commenter pointed outdo that there&#8217;s a slightly more idiomatic way of doing that in Python:</p>
<p>print sum(letter is &#8220;a&#8221; for letter in &#8220;I am Jack&#8217;s Colon.&#8221;)</p>
<p>Python is easy, but it&#8217;s the idioms that really make the language look good.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oolis</title>
		<link>http://buhjillions.spikecurtis.com/a-programmers-first-language-is/comment-page-1/#comment-42</link>
		<dc:creator>Oolis</dc:creator>
		<pubDate>Mon, 28 Jul 2008 05:13:14 +0000</pubDate>
		<guid isPermaLink="false">http://buhjillions.wordpress.com/?p=41#comment-42</guid>
		<description>Scheme</description>
		<content:encoded><![CDATA[<p>Scheme</p>
]]></content:encoded>
	</item>
</channel>
</rss>
