<?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: Lambda in C#: Conciseness v Readability</title>
	<atom:link href="http://www.markhneedham.com/blog/2008/11/24/c-new-language-features-conciseness-v-readability/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.markhneedham.com/blog/2008/11/24/c-new-language-features-conciseness-v-readability/</link>
	<description>Thoughts on Software Development</description>
	<lastBuildDate>Thu, 18 Mar 2010 23:35:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Richard</title>
		<link>http://www.markhneedham.com/blog/2008/11/24/c-new-language-features-conciseness-v-readability/comment-page-1/#comment-1650</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Fri, 28 Nov 2008 08:47:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=652#comment-1650</guid>
		<description>While I know it&#039;s a contrived example to make what I&#039;d consider a valid point (and which I agree with), variable naming isn&#039;t helping with the readability either in this case -

var fooStrings = foos.Select(foo =&gt; foo.ToString());

has a lot more chance of being understood by the unfamiliar than the slightly daunting algebraic feel of the single letter variables. I&#039;ve always used =&gt; as a general &quot;Go from this to that&quot; sign in my notes so found it relatively straightforward to pick up.</description>
		<content:encoded><![CDATA[<p>While I know it's a contrived example to make what I'd consider a valid point (and which I agree with), variable naming isn't helping with the readability either in this case -</p>
<p>var fooStrings = foos.Select(foo =&gt; foo.ToString());</p>
<p>has a lot more chance of being understood by the unfamiliar than the slightly daunting algebraic feel of the single letter variables. I've always used =&gt; as a general "Go from this to that" sign in my notes so found it relatively straightforward to pick up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nate</title>
		<link>http://www.markhneedham.com/blog/2008/11/24/c-new-language-features-conciseness-v-readability/comment-page-1/#comment-1584</link>
		<dc:creator>Nate</dc:creator>
		<pubDate>Mon, 24 Nov 2008 18:04:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=652#comment-1584</guid>
		<description>Whoops, posted too quickly and didn&#039;t convert to the same output as you.  My point still stands though.  I tend to push usages internal to another object as I find that in addition to the readability problems (I was looking at the lambda version when I wrote the code to convert it to a string -- didn&#039;t read it properly), duplication also creeps out from these kinds of statements.</description>
		<content:encoded><![CDATA[<p>Whoops, posted too quickly and didn't convert to the same output as you.  My point still stands though.  I tend to push usages internal to another object as I find that in addition to the readability problems (I was looking at the lambda version when I wrote the code to convert it to a string &#8212; didn't read it properly), duplication also creeps out from these kinds of statements.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nate</title>
		<link>http://www.markhneedham.com/blog/2008/11/24/c-new-language-features-conciseness-v-readability/comment-page-1/#comment-1582</link>
		<dc:creator>Nate</dc:creator>
		<pubDate>Mon, 24 Nov 2008 17:53:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=652#comment-1582</guid>
		<description>var foos = Foos.with(new Foo(&quot;bar1&quot;, &quot;baz1&quot;), new Foo(&quot;bar2&quot;, &quot;baz2&quot;));
var fooString = foos.ToString();</description>
		<content:encoded><![CDATA[<p>var foos = Foos.with(new Foo("bar1&#8243;, "baz1&#8243;), new Foo("bar2&#8243;, "baz2&#8243;));<br />
var fooString = foos.ToString();</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://www.markhneedham.com/blog/2008/11/24/c-new-language-features-conciseness-v-readability/comment-page-1/#comment-1579</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Mon, 24 Nov 2008 16:08:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=652#comment-1579</guid>
		<description>Agreed! I also find it useful to define custom LINQ operatorw that will simplify the expression required. Join, for example, is a tedious operator to use because it requires three expression. http://odetocode.com/Blogs/scott/archive/2008/11/16/12343.aspx</description>
		<content:encoded><![CDATA[<p>Agreed! I also find it useful to define custom LINQ operatorw that will simplify the expression required. Join, for example, is a tedious operator to use because it requires three expression. <a href="http://odetocode.com/Blogs/scott/archive/2008/11/16/12343.aspx" rel="nofollow">http://odetocode.com/Blogs/scott/archive/2008/11/16/12343.aspx</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
