<?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 expressions in C++</title>
	<atom:link href="http://www.klocwork.com/blog/2009/02/lambda-expressions-in-c/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.klocwork.com/blog/2009/02/lambda-expressions-in-c/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=lambda-expressions-in-c</link>
	<description>&#62;kloctalk is a blog and a community for software development professionals who create and maintain mission-critical software and the challenges they face on a daily basis.</description>
	<lastBuildDate>Tue, 24 Jan 2012 14:57:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: Jerry</title>
		<link>http://www.klocwork.com/blog/2009/02/lambda-expressions-in-c/comment-page-1/#comment-843</link>
		<dc:creator>Jerry</dc:creator>
		<pubDate>Fri, 30 Oct 2009 01:09:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.klocwork.com/blog/?p=45#comment-843</guid>
		<description>The next version of C++ has lambdas built into the language:

http://en.wikipedia.org/wiki/C%2B%2B0x#Lambda_functions_and_expressions

I take it this will be much closer to what a lambda is supposed to be.  And hopefully without the useless error messages.

The standard will be approved.  But how long will it take people to make compilers that are fully conformant?</description>
		<content:encoded><![CDATA[<p>The next version of C++ has lambdas built into the language:</p>
<p><a href="http://en.wikipedia.org/wiki/C%2B%2B0x#Lambda_functions_and_expressions" rel="nofollow">http://en.wikipedia.org/wiki/C%2B%2B0x#Lambda_functions_and_expressions</a></p>
<p>I take it this will be much closer to what a lambda is supposed to be.  And hopefully without the useless error messages.</p>
<p>The standard will be approved.  But how long will it take people to make compilers that are fully conformant?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mannings</title>
		<link>http://www.klocwork.com/blog/2009/02/lambda-expressions-in-c/comment-page-1/#comment-296</link>
		<dc:creator>Mannings</dc:creator>
		<pubDate>Sun, 03 May 2009 02:16:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.klocwork.com/blog/?p=45#comment-296</guid>
		<description>Good info, thanks!  And nice blog!</description>
		<content:encoded><![CDATA[<p>Good info, thanks!  And nice blog!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Symonds</title>
		<link>http://www.klocwork.com/blog/2009/02/lambda-expressions-in-c/comment-page-1/#comment-269</link>
		<dc:creator>Symonds</dc:creator>
		<pubDate>Tue, 28 Apr 2009 05:17:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.klocwork.com/blog/?p=45#comment-269</guid>
		<description>Very Nice blog with a ton of informative information. Can you recommend any decent forums or social groups to join that cover these types of topics. Also, I really appreciate the fact that you approach these topics from a stand point of knowledge and information instead of the typical &quot;I think&quot; mentality that you see so much on the internet these days.</description>
		<content:encoded><![CDATA[<p>Very Nice blog with a ton of informative information. Can you recommend any decent forums or social groups to join that cover these types of topics. Also, I really appreciate the fact that you approach these topics from a stand point of knowledge and information instead of the typical &#8220;I think&#8221; mentality that you see so much on the internet these days.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Denis Sidorov</title>
		<link>http://www.klocwork.com/blog/2009/02/lambda-expressions-in-c/comment-page-1/#comment-27</link>
		<dc:creator>Denis Sidorov</dc:creator>
		<pubDate>Fri, 13 Feb 2009 14:06:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.klocwork.com/blog/?p=45#comment-27</guid>
		<description>To Olivier: You are right - a lot of other modern languages adopt this concept one way or another. I could have referred to Java closures (http://www.javac.info/closures-v05.html) and Python lambda expressions as well.

I have included Lisp and Smalltalk because that&#039;s where the original idea of lambda expressions and code blocks was implemented first. And code blocks are important part of Ruby&#039;s flexible syntax - one of the reasons why it has become so popular.

All these languages used to have this concept as part of original language design - Lisp/Smalltalk/Ruby would be completely different languages if there were no code blocks/lambda expressions.

In C++/C#/Java lambda expressions are just yet another convenient extension ...</description>
		<content:encoded><![CDATA[<p>To Olivier: You are right &#8211; a lot of other modern languages adopt this concept one way or another. I could have referred to Java closures (<a href="http://www.javac.info/closures-v05.html" rel="nofollow">http://www.javac.info/closures-v05.html</a>) and Python lambda expressions as well.</p>
<p>I have included Lisp and Smalltalk because that&#8217;s where the original idea of lambda expressions and code blocks was implemented first. And code blocks are important part of Ruby&#8217;s flexible syntax &#8211; one of the reasons why it has become so popular.</p>
<p>All these languages used to have this concept as part of original language design &#8211; Lisp/Smalltalk/Ruby would be completely different languages if there were no code blocks/lambda expressions.</p>
<p>In C++/C#/Java lambda expressions are just yet another convenient extension &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olivier Dagenais</title>
		<link>http://www.klocwork.com/blog/2009/02/lambda-expressions-in-c/comment-page-1/#comment-26</link>
		<dc:creator>Olivier Dagenais</dc:creator>
		<pubDate>Thu, 12 Feb 2009 18:05:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.klocwork.com/blog/?p=45#comment-26</guid>
		<description>You forgot C#:  
&lt;pre&gt;&lt;code&gt;
a.ForEach( x =&gt; Console.Write( &quot;{0} &quot;, x ) );
&lt;/code&gt;&lt;/pre&gt;
Full program below:

&lt;pre&gt;&lt;code&gt;
using System;
using System.Collections.Generic;
using System.Linq;

namespace OliIsCool
{
  public class Program
  {
    public static void Main(string[] args)
    {
      var examples = new List { &quot;C++&quot;, &quot;Smalltalk&quot;, &quot;Ruby&quot;, &quot;Lisp (Scheme)&quot;, &quot;C#&quot; };
      examples.ForEach( x =&gt; Console.Write( &quot;{0} &quot;, x ) );
    }
  }
}
&lt;/code&gt;&lt;/pre&gt;

...which anybody with the .NET Framework 3.5 can compile as follows:
c:\WINDOWS\Microsoft.NET\Framework\v3.5\csc.exe lambda.cs


Cheers,
- Oli</description>
		<content:encoded><![CDATA[<p>You forgot C#:  </p>
<pre><code>
a.ForEach( x =&gt; Console.Write( "{0} ", x ) );
</code></pre>
<p>Full program below:</p>
<pre><code>
using System;
using System.Collections.Generic;
using System.Linq;

namespace OliIsCool
{
  public class Program
  {
    public static void Main(string[] args)
    {
      var examples = new List { "C++", "Smalltalk", "Ruby", "Lisp (Scheme)", "C#" };
      examples.ForEach( x =&gt; Console.Write( "{0} ", x ) );
    }
  }
}
</code></pre>
<p>&#8230;which anybody with the .NET Framework 3.5 can compile as follows:<br />
c:\WINDOWS\Microsoft.NET\Framework\v3.5\csc.exe lambda.cs</p>
<p>Cheers,<br />
- Oli</p>
]]></content:encoded>
	</item>
</channel>
</rss>

