<?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: C# lambdas: How much context should you need?</title>
	<atom:link href="http://www.markhneedham.com/blog/2008/12/27/c-lambdas-how-much-context-should-you-need/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.markhneedham.com/blog/2008/12/27/c-lambdas-how-much-context-should-you-need/</link>
	<description>Thoughts on Software Development</description>
	<lastBuildDate>Sat, 11 Feb 2012 23:17: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: Dave Cameron</title>
		<link>http://www.markhneedham.com/blog/2008/12/27/c-lambdas-how-much-context-should-you-need/comment-page-1/#comment-2381</link>
		<dc:creator>Dave Cameron</dc:creator>
		<pubDate>Thu, 01 Jan 2009 03:50:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=772#comment-2381</guid>
		<description>Especially since foo is here part of a much larger line of code, I like foo. In the SmallTalk code I&#039;ve seen, it was convention to have a role-revealing name for block variables expressing what the block author thought the block was going to receive. Even for very short blocks like

eachFoo =&gt; return eachFoo.ToString();</description>
		<content:encoded><![CDATA[<p>Especially since foo is here part of a much larger line of code, I like foo. In the SmallTalk code I&#8217;ve seen, it was convention to have a role-revealing name for block variables expressing what the block author thought the block was going to receive. Even for very short blocks like</p>
<p>eachFoo =&gt; return eachFoo.ToString();</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Jablow</title>
		<link>http://www.markhneedham.com/blog/2008/12/27/c-lambdas-how-much-context-should-you-need/comment-page-1/#comment-2338</link>
		<dc:creator>Eric Jablow</dc:creator>
		<pubDate>Mon, 29 Dec 2008 20:43:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=772#comment-2338</guid>
		<description>The name &#039;x&#039; is idiomatic for lambda variables, but I would it because I tend to reserve that name for the Cartesian coordinate or the real part of a complex number.

I think it depends; could you imagine using that lambda expression for items other than &#039;Foo&#039; instances?  Here, you could certainly inagine that, and so I would use a generic name like &#039;item&#039; or &#039;elem&#039;.  If the lambda expression depended on the variable being of type &#039;Foo&#039;, I would use a specific name.</description>
		<content:encoded><![CDATA[<p>The name &#8216;x&#8217; is idiomatic for lambda variables, but I would it because I tend to reserve that name for the Cartesian coordinate or the real part of a complex number.</p>
<p>I think it depends; could you imagine using that lambda expression for items other than &#8216;Foo&#8217; instances?  Here, you could certainly inagine that, and so I would use a generic name like &#8216;item&#8217; or &#8216;elem&#8217;.  If the lambda expression depended on the variable being of type &#8216;Foo&#8217;, I would use a specific name.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reflective Perspective - Chris Alcock &#187; The Morning Brew #252</title>
		<link>http://www.markhneedham.com/blog/2008/12/27/c-lambdas-how-much-context-should-you-need/comment-page-1/#comment-2326</link>
		<dc:creator>Reflective Perspective - Chris Alcock &#187; The Morning Brew #252</dc:creator>
		<pubDate>Mon, 29 Dec 2008 11:34:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=772#comment-2326</guid>
		<description>[...] C# lambdas: How much context should you need? - Mark Needham considers one of the important questions when it comes to lambda expressions, how clear is it when you use the (x -&gt; x.blah) notation, so we need to be more careful about our choice of name for x to improve clarity. [...]</description>
		<content:encoded><![CDATA[<p>[...] C# lambdas: How much context should you need? &#8211; Mark Needham considers one of the important questions when it comes to lambda expressions, how clear is it when you use the (x -&gt; x.blah) notation, so we need to be more careful about our choice of name for x to improve clarity. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Missal</title>
		<link>http://www.markhneedham.com/blog/2008/12/27/c-lambdas-how-much-context-should-you-need/comment-page-1/#comment-2317</link>
		<dc:creator>Chris Missal</dc:creator>
		<pubDate>Sun, 28 Dec 2008 19:02:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=772#comment-2317</guid>
		<description>I don&#039;t like to use &#039;x&#039; because it&#039;s non descriptive, but I do like its brevity. I typically would use &#039;o&#039; on object Order or &#039;os&#039; on object OrderService. It&#039;s still brief, but slightly more helpful to recognize the object being used.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t like to use &#8216;x&#8217; because it&#8217;s non descriptive, but I do like its brevity. I typically would use &#8216;o&#8217; on object Order or &#8216;os&#8217; on object OrderService. It&#8217;s still brief, but slightly more helpful to recognize the object being used.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arjan`s World &#187; LINKBLOG for December 27, 2008</title>
		<link>http://www.markhneedham.com/blog/2008/12/27/c-lambdas-how-much-context-should-you-need/comment-page-1/#comment-2305</link>
		<dc:creator>Arjan`s World &#187; LINKBLOG for December 27, 2008</dc:creator>
		<pubDate>Sat, 27 Dec 2008 21:00:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=772#comment-2305</guid>
		<description>[...] C# lambdas: How much context should you need? - Mark Needham [...]</description>
		<content:encoded><![CDATA[<p>[...] C# lambdas: How much context should you need? &#8211; Mark Needham [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

