<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.12-alpha" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Closing over context still not easy in mainstream languages, Film at 11</title>
	<link>http://www.lshift.net/blog/2007/09/11/closing-over-context-still-not-easy-in-mainstream-languages-film-at-11</link>
	<description>What happens at LShift</description>
	<pubDate>Sat, 11 Oct 2008 22:55:58 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.12-alpha</generator>

	<item>
		<title>by: Jaimir Guerrero</title>
		<link>http://www.lshift.net/blog/2007/09/11/closing-over-context-still-not-easy-in-mainstream-languages-film-at-11#comment-119457</link>
		<pubDate>Tue, 12 Aug 2008 22:03:27 +0000</pubDate>
		<guid>http://www.lshift.net/blog/2007/09/11/closing-over-context-still-not-easy-in-mainstream-languages-film-at-11#comment-119457</guid>
					<description>&lt;p&gt;c# 3.0 lambda expression is:&lt;/p&gt;

&lt;p&gt;ob.GetType().FindInterfaces((iface, criteria) =&#62; iface.FullName == criteria.ToString(), typeof(IMapas).FullName);&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>c# 3.0 lambda expression is:</p>
<p>ob.GetType().FindInterfaces((iface, criteria) =&gt; iface.FullName == criteria.ToString(), typeof(IMapas).FullName);</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Luke</title>
		<link>http://www.lshift.net/blog/2007/09/11/closing-over-context-still-not-easy-in-mainstream-languages-film-at-11#comment-65634</link>
		<pubDate>Tue, 11 Sep 2007 15:39:59 +0000</pubDate>
		<guid>http://www.lshift.net/blog/2007/09/11/closing-over-context-still-not-easy-in-mainstream-languages-film-at-11#comment-65634</guid>
					<description>&lt;p&gt;This method was around during C# 1.0, when there were no closures.  An alternative to what you have shown would be to have FindInterfaces take a class instance (common for Java IIRC).  If this method were updated for C# 2.0+, it could simply take a Predicate.  You should probably aim your criticism at Java. :-p  C# 3.0 syntax would look like this:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;someType.FindInterfaces(iface =&#62; iface.Name == "IFoolishness");&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Pretty readable if you ask me!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>This method was around during C# 1.0, when there were no closures.  An alternative to what you have shown would be to have FindInterfaces take a class instance (common for Java IIRC).  If this method were updated for C# 2.0+, it could simply take a Predicate.  You should probably aim your criticism at Java. :-p  C# 3.0 syntax would look like this:</p>
<p><code>someType.FindInterfaces(iface =&gt; iface.Name == "IFoolishness");</code></p>
<p>Pretty readable if you ask me!</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: matthew</title>
		<link>http://www.lshift.net/blog/2007/09/11/closing-over-context-still-not-easy-in-mainstream-languages-film-at-11#comment-65631</link>
		<pubDate>Tue, 11 Sep 2007 13:58:02 +0000</pubDate>
		<guid>http://www.lshift.net/blog/2007/09/11/closing-over-context-still-not-easy-in-mainstream-languages-film-at-11#comment-65631</guid>
					<description>&lt;p&gt;We need a eugenics program for software developers...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>We need a eugenics program for software developers&#8230;</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: mikeb</title>
		<link>http://www.lshift.net/blog/2007/09/11/closing-over-context-still-not-easy-in-mainstream-languages-film-at-11#comment-65630</link>
		<pubDate>Tue, 11 Sep 2007 12:32:36 +0000</pubDate>
		<guid>http://www.lshift.net/blog/2007/09/11/closing-over-context-still-not-easy-in-mainstream-languages-film-at-11#comment-65630</guid>
					<description>&lt;p&gt;Yes, it's comical, but why do you think it is so?&lt;/p&gt;

&lt;p&gt;Take a look at the resistance to introducing things like lambda forms to JavaScript; for example, at http://ejohn.org/blog/javascript-18-progress/ :&lt;/p&gt;

&lt;p&gt;"All new stuffs since JS1.7 make javascript code less and less readable and comprehensible by a “normal” developer ..."&lt;/p&gt;

&lt;p&gt;"I think the “new style” of coding is hard to read, understand and debug ..."&lt;/p&gt;

&lt;p&gt;.. and that's /JavaScript/.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Yes, it&#8217;s comical, but why do you think it is so?</p>
<p>Take a look at the resistance to introducing things like lambda forms to JavaScript; for example, at http://ejohn.org/blog/javascript-18-progress/ :</p>
<p>&#8220;All new stuffs since JS1.7 make javascript code less and less readable and comprehensible by a “normal” developer &#8230;&#8221;</p>
<p>&#8220;I think the “new style” of coding is hard to read, understand and debug &#8230;&#8221;</p>
<p>.. and that&#8217;s /JavaScript/.</p>
]]></content:encoded>
				</item>
</channel>
</rss>
