<?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: Functional Programming Unit Testing in Node &#8211; Part 1	</title>
	<atom:link href="https://jessewarden.com/2018/06/functional-programming-unit-testing-in-node-part-1.html/feed" rel="self" type="application/rss+xml" />
	<link>https://jessewarden.com/2018/06/functional-programming-unit-testing-in-node-part-1.html</link>
	<description>Software &#124; Fitness &#124; Gaming</description>
	<lastBuildDate>Mon, 20 Aug 2018 01:24:44 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: JesterXL		</title>
		<link>https://jessewarden.com/2018/06/functional-programming-unit-testing-in-node-part-1.html/comment-page-1#comment-250899</link>

		<dc:creator><![CDATA[JesterXL]]></dc:creator>
		<pubDate>Mon, 20 Aug 2018 01:24:44 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=5502#comment-250899</guid>

					<description><![CDATA[Absolutely. As long as it follows the rules of same input, same output, and no side effects.

The side effects, it depends on how strict you are. Typically Promises can wrap side effects, like HTTP calls. So... they technically are affecting the outside world after they are complete, but that&#039;s kind of why we use Promises, so... I say they&#039;re &quot;pure enough&quot;.]]></description>
			<content:encoded><![CDATA[<p>Absolutely. As long as it follows the rules of same input, same output, and no side effects.</p>
<p>The side effects, it depends on how strict you are. Typically Promises can wrap side effects, like HTTP calls. So&#8230; they technically are affecting the outside world after they are complete, but that&#8217;s kind of why we use Promises, so&#8230; I say they&#8217;re &#8220;pure enough&#8221;.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: jmilkiewicz		</title>
		<link>https://jessewarden.com/2018/06/functional-programming-unit-testing-in-node-part-1.html/comment-page-1#comment-250873</link>

		<dc:creator><![CDATA[jmilkiewicz]]></dc:creator>
		<pubDate>Wed, 15 Aug 2018 12:23:06 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=5502#comment-250873</guid>

					<description><![CDATA[Hey
I really like the post, but i would like to know if function that takes promise as an input can be pure ? Sth like
&lt;code lang=&quot;javascript&quot;&gt;
const incrementWithPromise  = promise =&#062; promise.then(add(1))
&lt;/code&gt;]]></description>
			<content:encoded><![CDATA[<p>Hey<br />
I really like the post, but i would like to know if function that takes promise as an input can be pure ? Sth like<br />
<code lang="javascript"><br />
const incrementWithPromise  = promise =&gt; promise.then(add(1))<br />
</code></p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
