<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Gotcha — forgetting parentheses</title>
	<atom:link href="http://pythonconquerstheuniverse.wordpress.com/2008/06/04/gotcha-%E2%80%94-forgetting-parentheses/feed/" rel="self" type="application/rss+xml" />
	<link>http://pythonconquerstheuniverse.wordpress.com/2008/06/04/gotcha-%e2%80%94-forgetting-parentheses/</link>
	<description>Adventures across space and time with the Python programming language</description>
	<lastBuildDate>Sat, 04 May 2013 20:54:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Michael Buckley</title>
		<link>http://pythonconquerstheuniverse.wordpress.com/2008/06/04/gotcha-%e2%80%94-forgetting-parentheses/#comment-477</link>
		<dc:creator><![CDATA[Michael Buckley]]></dc:creator>
		<pubDate>Sat, 06 Nov 2010 08:23:07 +0000</pubDate>
		<guid isPermaLink="false">http://pythonconquerstheuniverse.wordpress.com/2008/06/04/gotcha-%e2%80%94-forgetting-parentheses#comment-477</guid>
		<description><![CDATA[The first time I stumbled across code like this was in a programming exam paper.  I had a little fun with it as the expense of the lecturer after I became a tutor for the subject :)]]></description>
		<content:encoded><![CDATA[<p>The first time I stumbled across code like this was in a programming exam paper.  I had a little fun with it as the expense of the lecturer after I became a tutor for the subject <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jesus</title>
		<link>http://pythonconquerstheuniverse.wordpress.com/2008/06/04/gotcha-%e2%80%94-forgetting-parentheses/#comment-387</link>
		<dc:creator><![CDATA[jesus]]></dc:creator>
		<pubDate>Sun, 03 Oct 2010 19:31:58 +0000</pubDate>
		<guid isPermaLink="false">http://pythonconquerstheuniverse.wordpress.com/2008/06/04/gotcha-%e2%80%94-forgetting-parentheses#comment-387</guid>
		<description><![CDATA[I&#039;m new to python and this gotcha just got me, I spent ages looking for a bug elsewhere in the code because I didn&#039;t know of this feature of python. So I&#039;m just commenting to call olilo an idiot.]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m new to python and this gotcha just got me, I spent ages looking for a bug elsewhere in the code because I didn&#8217;t know of this feature of python. So I&#8217;m just commenting to call olilo an idiot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathon</title>
		<link>http://pythonconquerstheuniverse.wordpress.com/2008/06/04/gotcha-%e2%80%94-forgetting-parentheses/#comment-238</link>
		<dc:creator><![CDATA[Nathon]]></dc:creator>
		<pubDate>Wed, 07 Apr 2010 17:53:42 +0000</pubDate>
		<guid isPermaLink="false">http://pythonconquerstheuniverse.wordpress.com/2008/06/04/gotcha-%e2%80%94-forgetting-parentheses#comment-238</guid>
		<description><![CDATA[The reason this is a gotcha is that it can bite newbie programmers or programmers unfamiliar with Python. Obviously it&#039;s an important language feature that functions and methods can be passed around as arguments and stored in collections. However, someone new to Python and the concept of functions as first class citizens might expect the interpreter to catch the error just like how they would expect Python to alert them if they had passed 12 parameters to a function that only takes 2. They also might actually expect the function to be called, since languages like Ada allow subroutines with zero parameters to be called without parentheses.]]></description>
		<content:encoded><![CDATA[<p>The reason this is a gotcha is that it can bite newbie programmers or programmers unfamiliar with Python. Obviously it&#8217;s an important language feature that functions and methods can be passed around as arguments and stored in collections. However, someone new to Python and the concept of functions as first class citizens might expect the interpreter to catch the error just like how they would expect Python to alert them if they had passed 12 parameters to a function that only takes 2. They also might actually expect the function to be called, since languages like Ada allow subroutines with zero parameters to be called without parentheses.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: olilo</title>
		<link>http://pythonconquerstheuniverse.wordpress.com/2008/06/04/gotcha-%e2%80%94-forgetting-parentheses/#comment-5</link>
		<dc:creator><![CDATA[olilo]]></dc:creator>
		<pubDate>Tue, 17 Mar 2009 14:29:00 +0000</pubDate>
		<guid isPermaLink="false">http://pythonconquerstheuniverse.wordpress.com/2008/06/04/gotcha-%e2%80%94-forgetting-parentheses#comment-5</guid>
		<description><![CDATA[Hi,&lt;br/&gt;&lt;br/&gt;Just to tell you that it&#039;s not a gotcha at all. The syntax requires you to call a method with parenthesis.&lt;br/&gt;&lt;br/&gt;How would you pass a function reference to another method (a callback method, for example) without this &#039;gotcha&#039; ?&lt;br/&gt;&lt;br/&gt;You don&#039;t have to be particularly carefull about it. If you want to call the method, you need parenthesis. If you need to use the function object for referencing, you don&#039;t add parenthesis.&lt;br/&gt;&lt;br/&gt;But calling it a gotcha is strange to me.&lt;br/&gt;&lt;br/&gt;PS: beside that, thank you for your website. It&#039;s very interesting.&lt;br/&gt;&lt;br/&gt;Regards,]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Just to tell you that it&#8217;s not a gotcha at all. The syntax requires you to call a method with parenthesis.</p>
<p>How would you pass a function reference to another method (a callback method, for example) without this &#8216;gotcha&#8217; ?</p>
<p>You don&#8217;t have to be particularly carefull about it. If you want to call the method, you need parenthesis. If you need to use the function object for referencing, you don&#8217;t add parenthesis.</p>
<p>But calling it a gotcha is strange to me.</p>
<p>PS: beside that, thank you for your website. It&#8217;s very interesting.</p>
<p>Regards,</p>
]]></content:encoded>
	</item>
</channel>
</rss>
