<?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/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	
	>
<channel>
	<title>
	Comments on: Think of Function Objects as Functions Rather Than Objects	</title>
	<atom:link href="https://www.fluentcpp.com/2017/10/20/think-function-objects-functions-rather-objects/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.fluentcpp.com/2017/10/20/think-function-objects-functions-rather-objects/</link>
	<description>Jonathan Boccara&#039;s blog</description>
	<lastBuildDate>Thu, 26 Oct 2017 06:22:00 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.5.3</generator>
	<item>
		<title>
		By: Matt A		</title>
		<link>https://www.fluentcpp.com/2017/10/20/think-function-objects-functions-rather-objects/#comment-615</link>

		<dc:creator><![CDATA[Matt A]]></dc:creator>
		<pubDate>Thu, 26 Oct 2017 06:22:00 +0000</pubDate>
		<guid isPermaLink="false">https://www.fluentcpp.com/?p=2401#comment-615</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.fluentcpp.com/2017/10/20/think-function-objects-functions-rather-objects/#comment-614&quot;&gt;Jonathan Boccara&lt;/a&gt;.

In practice I&#039;d probably take it by value and move it into the lambda, but it makes the code a bit less clear in this example I feel.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.fluentcpp.com/2017/10/20/think-function-objects-functions-rather-objects/#comment-614">Jonathan Boccara</a>.</p>
<p>In practice I&#8217;d probably take it by value and move it into the lambda, but it makes the code a bit less clear in this example I feel.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jonathan Boccara		</title>
		<link>https://www.fluentcpp.com/2017/10/20/think-function-objects-functions-rather-objects/#comment-614</link>

		<dc:creator><![CDATA[Jonathan Boccara]]></dc:creator>
		<pubDate>Wed, 25 Oct 2017 22:45:00 +0000</pubDate>
		<guid isPermaLink="false">https://www.fluentcpp.com/?p=2401#comment-614</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.fluentcpp.com/2017/10/20/think-function-objects-functions-rather-objects/#comment-608&quot;&gt;Matt A&lt;/a&gt;.

Yes, absolutely! In this case would you rather take the color by reference or by value?]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.fluentcpp.com/2017/10/20/think-function-objects-functions-rather-objects/#comment-608">Matt A</a>.</p>
<p>Yes, absolutely! In this case would you rather take the color by reference or by value?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Matt A		</title>
		<link>https://www.fluentcpp.com/2017/10/20/think-function-objects-functions-rather-objects/#comment-608</link>

		<dc:creator><![CDATA[Matt A]]></dc:creator>
		<pubDate>Wed, 25 Oct 2017 06:20:00 +0000</pubDate>
		<guid isPermaLink="false">https://www.fluentcpp.com/?p=2401#comment-608</guid>

					<description><![CDATA[I think you can go further down this road than just change the name though, and instead make hasColor a true higher order function that returns a lambda:

auto hasColor (Color const&#038; color)
{
    return [=] (Ball const&#038; ball) 
    {
        return ball.getColor() == color;
    }; 
}]]></description>
			<content:encoded><![CDATA[<p>I think you can go further down this road than just change the name though, and instead make hasColor a true higher order function that returns a lambda:</p>
<p>auto hasColor (Color const&amp; color)<br />
{<br />
    return [=] (Ball const&amp; ball)<br />
    {<br />
        return ball.getColor() == color;<br />
    };<br />
}</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jonathan Boccara		</title>
		<link>https://www.fluentcpp.com/2017/10/20/think-function-objects-functions-rather-objects/#comment-599</link>

		<dc:creator><![CDATA[Jonathan Boccara]]></dc:creator>
		<pubDate>Sun, 22 Oct 2017 12:33:00 +0000</pubDate>
		<guid isPermaLink="false">https://www.fluentcpp.com/?p=2401#comment-599</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.fluentcpp.com/2017/10/20/think-function-objects-functions-rather-objects/#comment-597&quot;&gt;Hanna Khalil&lt;/a&gt;.

Thanks for your comment. So it is the guideline about naming that you disagree with?]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.fluentcpp.com/2017/10/20/think-function-objects-functions-rather-objects/#comment-597">Hanna Khalil</a>.</p>
<p>Thanks for your comment. So it is the guideline about naming that you disagree with?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Hanna Khalil		</title>
		<link>https://www.fluentcpp.com/2017/10/20/think-function-objects-functions-rather-objects/#comment-597</link>

		<dc:creator><![CDATA[Hanna Khalil]]></dc:creator>
		<pubDate>Fri, 20 Oct 2017 13:00:00 +0000</pubDate>
		<guid isPermaLink="false">https://www.fluentcpp.com/?p=2401#comment-597</guid>

					<description><![CDATA[I really enjoyed that and gained nice insight about c++&#039;s classification as a hybrid of OO and functional. But I would disagree in regards to the &quot;practical consequences&quot;]]></description>
			<content:encoded><![CDATA[<p>I really enjoyed that and gained nice insight about c++&#8217;s classification as a hybrid of OO and functional. But I would disagree in regards to the &#8220;practical consequences&#8221;</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
