<?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 Python Lambda</title>
	<atom:link href="http://www.blog.pythonlibrary.org/2010/07/19/the-python-lambda/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.blog.pythonlibrary.org/2010/07/19/the-python-lambda/</link>
	<description>Python Programming from the Frontlines</description>
	<lastBuildDate>Sun, 05 Feb 2012 20:38:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Glenbot</title>
		<link>http://www.blog.pythonlibrary.org/2010/07/19/the-python-lambda/comment-page-1/#comment-21227</link>
		<dc:creator>Glenbot</dc:creator>
		<pubDate>Tue, 27 Jul 2010 07:59:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.pythonlibrary.org/?p=1051#comment-21227</guid>
		<description>Good post. I wish lambda was as flexible as anonymous functions in JavaScript. One great use of lambda in Django is in the permission_required decorator.</description>
		<content:encoded><![CDATA[<p>Good post. I wish lambda was as flexible as anonymous functions in JavaScript. One great use of lambda in Django is in the permission_required decorator.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://www.blog.pythonlibrary.org/2010/07/19/the-python-lambda/comment-page-1/#comment-21215</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Wed, 21 Jul 2010 05:41:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.pythonlibrary.org/?p=1051#comment-21215</guid>
		<description>Good read, you might want to take a look at my post as well: &lt;a href=&quot;http://blog.ryanbalfanz.net/?p=235&quot; rel=&quot;nofollow&quot;&gt;http://blog.ryanbalfanz.net/?p=235&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Good read, you might want to take a look at my post as well: <a href="http://blog.ryanbalfanz.net/?p=235" rel="nofollow">http://blog.ryanbalfanz.net/?p=235</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: driscollis</title>
		<link>http://www.blog.pythonlibrary.org/2010/07/19/the-python-lambda/comment-page-1/#comment-21211</link>
		<dc:creator>driscollis</dc:creator>
		<pubDate>Tue, 20 Jul 2010 20:36:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.pythonlibrary.org/?p=1051#comment-21211</guid>
		<description>I almost mentioned that, but thought it might make the article rather confusing.&lt;br&gt;&lt;br&gt;- Mike</description>
		<content:encoded><![CDATA[<p>I almost mentioned that, but thought it might make the article rather confusing.</p>
<p>- Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vvl</title>
		<link>http://www.blog.pythonlibrary.org/2010/07/19/the-python-lambda/comment-page-1/#comment-21208</link>
		<dc:creator>vvl</dc:creator>
		<pubDate>Tue, 20 Jul 2010 18:14:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.pythonlibrary.org/?p=1051#comment-21208</guid>
		<description>Not to forget lambda&#039;s use in functional programming, e.g. having a function return another function:&lt;br&gt;&lt;br&gt;def make_incrementor(n): return lambda(x): x + n&lt;br&gt;&lt;br&gt;which produces a function that increments its argument by n. Not the most usual application but some things can be done very beautifully with this.</description>
		<content:encoded><![CDATA[<p>Not to forget lambda&#39;s use in functional programming, e.g. having a function return another function:</p>
<p>def make_incrementor(n): return lambda(x): x + n</p>
<p>which produces a function that increments its argument by n. Not the most usual application but some things can be done very beautifully with this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dougal Matthews</title>
		<link>http://www.blog.pythonlibrary.org/2010/07/19/the-python-lambda/comment-page-1/#comment-21206</link>
		<dc:creator>Dougal Matthews</dc:creator>
		<pubDate>Tue, 20 Jul 2010 17:59:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.pythonlibrary.org/?p=1051#comment-21206</guid>
		<description>Very true - they are also faster. Perhaps not the best example but I couldn&#039;t think of another one off the top of my head :)</description>
		<content:encoded><![CDATA[<p>Very true &#8211; they are also faster. Perhaps not the best example but I couldn&#39;t think of another one off the top of my head <img src='http://www.blog.pythonlibrary.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: driscollis</title>
		<link>http://www.blog.pythonlibrary.org/2010/07/19/the-python-lambda/comment-page-1/#comment-21207</link>
		<dc:creator>driscollis</dc:creator>
		<pubDate>Tue, 20 Jul 2010 17:58:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.pythonlibrary.org/?p=1051#comment-21207</guid>
		<description>Rob,&lt;br&gt;&lt;br&gt;Thanks for the feedback! I think lambda tends to be antithetical to the normal Python philosophy as well.&lt;br&gt;&lt;br&gt;- Mike</description>
		<content:encoded><![CDATA[<p>Rob,</p>
<p>Thanks for the feedback! I think lambda tends to be antithetical to the normal Python philosophy as well.</p>
<p>- Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: driscollis</title>
		<link>http://www.blog.pythonlibrary.org/2010/07/19/the-python-lambda/comment-page-1/#comment-21205</link>
		<dc:creator>driscollis</dc:creator>
		<pubDate>Tue, 20 Jul 2010 17:56:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.pythonlibrary.org/?p=1051#comment-21205</guid>
		<description>Hi Dougal,&lt;br&gt;&lt;br&gt;I don&#039;t know how I missed that one. Thanks for the heads-up!&lt;br&gt;&lt;br&gt;- Mike</description>
		<content:encoded><![CDATA[<p>Hi Dougal,</p>
<p>I don&#39;t know how I missed that one. Thanks for the heads-up!</p>
<p>- Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Weir</title>
		<link>http://www.blog.pythonlibrary.org/2010/07/19/the-python-lambda/comment-page-1/#comment-21204</link>
		<dc:creator>Rob Weir</dc:creator>
		<pubDate>Tue, 20 Jul 2010 15:45:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.pythonlibrary.org/?p=1051#comment-21204</guid>
		<description>Don&#039;t forget operator.itemgetter/attrgetter - for many simple key functions, they are imho clearer than a lambda.</description>
		<content:encoded><![CDATA[<p>Don&#39;t forget operator.itemgetter/attrgetter &#8211; for many simple key functions, they are imho clearer than a lambda.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dougal Matthews</title>
		<link>http://www.blog.pythonlibrary.org/2010/07/19/the-python-lambda/comment-page-1/#comment-21203</link>
		<dc:creator>Dougal Matthews</dc:creator>
		<pubDate>Tue, 20 Jul 2010 13:11:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.pythonlibrary.org/?p=1051#comment-21203</guid>
		<description>A nice example of the lambda statement is the python sorted() built in where you can provide a lambda to sort an itteratable.&lt;br&gt;&lt;br&gt;For example, to sort a list of objects with the property last_name&lt;br&gt;&lt;br&gt;sorted(list, key=lambda i: i.last_name)</description>
		<content:encoded><![CDATA[<p>A nice example of the lambda statement is the python sorted() built in where you can provide a lambda to sort an itteratable.</p>
<p>For example, to sort a list of objects with the property last_name</p>
<p>sorted(list, key=lambda i: i.last_name)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.352 seconds -->

