<?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#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: placeholders and currying</title>
	<atom:link href="http://twoguysarguing.wordpress.com/2009/11/04/placeholders-and-currying/feed/" rel="self" type="application/rss+xml" />
	<link>http://twoguysarguing.wordpress.com/2009/11/04/placeholders-and-currying/</link>
	<description>colorful back and forth from two highly opinionated programmers</description>
	<lastBuildDate>Fri, 17 May 2013 10:05:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: klaush</title>
		<link>http://twoguysarguing.wordpress.com/2009/11/04/placeholders-and-currying/#comment-164</link>
		<dc:creator><![CDATA[klaush]]></dc:creator>
		<pubDate>Wed, 10 Mar 2010 15:00:55 +0000</pubDate>
		<guid isPermaLink="false">http://twoguysarguing.wordpress.com/?p=518#comment-164</guid>
		<description><![CDATA[the curry functions only works for simple args, imagin 
func( {animate:false,load:true,icon:false},html){
dosomething
}

currying this function destroy the object, so you will need to add an object/array parser aswell]]></description>
		<content:encoded><![CDATA[<p>the curry functions only works for simple args, imagin<br />
func( {animate:false,load:true,icon:false},html){<br />
dosomething<br />
}</p>
<p>currying this function destroy the object, so you will need to add an object/array parser aswell</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Javascript geek</title>
		<link>http://twoguysarguing.wordpress.com/2009/11/04/placeholders-and-currying/#comment-99</link>
		<dc:creator><![CDATA[Javascript geek]]></dc:creator>
		<pubDate>Thu, 05 Nov 2009 18:58:38 +0000</pubDate>
		<guid isPermaLink="false">http://twoguysarguing.wordpress.com/?p=518#comment-99</guid>
		<description><![CDATA[not only that but:
js&gt; var _,x
js&gt; _ === x
true

var _ = {} is much better, also why is this not in fn.js on github?]]></description>
		<content:encoded><![CDATA[<p>not only that but:<br />
js&gt; var _,x<br />
js&gt; _ === x<br />
true</p>
<p>var _ = {} is much better, also why is this not in fn.js on github?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karl</title>
		<link>http://twoguysarguing.wordpress.com/2009/11/04/placeholders-and-currying/#comment-98</link>
		<dc:creator><![CDATA[Karl]]></dc:creator>
		<pubDate>Thu, 05 Nov 2009 18:04:35 +0000</pubDate>
		<guid isPermaLink="false">http://twoguysarguing.wordpress.com/?p=518#comment-98</guid>
		<description><![CDATA[See Oliver Steele&#039;s partial() in his functional library for the exact same functionality. :)

I&#039;ve also seen this done with undefined as the test with the advantage of namespace cleanliness and the disadvantage of having to type undefined.]]></description>
		<content:encoded><![CDATA[<p>See Oliver Steele&#8217;s partial() in his functional library for the exact same functionality. :)</p>
<p>I&#8217;ve also seen this done with undefined as the test with the advantage of namespace cleanliness and the disadvantage of having to type undefined.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: youngnh</title>
		<link>http://twoguysarguing.wordpress.com/2009/11/04/placeholders-and-currying/#comment-97</link>
		<dc:creator><![CDATA[youngnh]]></dc:creator>
		<pubDate>Thu, 05 Nov 2009 17:52:43 +0000</pubDate>
		<guid isPermaLink="false">http://twoguysarguing.wordpress.com/?p=518#comment-97</guid>
		<description><![CDATA[so this isn&#039;t a value thing.

functions could expect an empty object to be passed to them and if I just looked for an empty object, I might mistake a real value for a placeholder.

 I want to know if the function has been given the _ variable itself.  I&#039;m interested in it&#039;s reference.

if you&#039;ll notice, I made a === check instead of a == equals check, as the former is stricter, only returning true when you compare an object to itself, and the latter returning true when two objects have the same value.]]></description>
		<content:encoded><![CDATA[<p>so this isn&#8217;t a value thing.</p>
<p>functions could expect an empty object to be passed to them and if I just looked for an empty object, I might mistake a real value for a placeholder.</p>
<p> I want to know if the function has been given the _ variable itself.  I&#8217;m interested in it&#8217;s reference.</p>
<p>if you&#8217;ll notice, I made a === check instead of a == equals check, as the former is stricter, only returning true when you compare an object to itself, and the latter returning true when two objects have the same value.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: benjaminplee</title>
		<link>http://twoguysarguing.wordpress.com/2009/11/04/placeholders-and-currying/#comment-96</link>
		<dc:creator><![CDATA[benjaminplee]]></dc:creator>
		<pubDate>Thu, 05 Nov 2009 17:36:08 +0000</pubDate>
		<guid isPermaLink="false">http://twoguysarguing.wordpress.com/?p=518#comment-96</guid>
		<description><![CDATA[I too was wondering about that.

I am still trying to wrap my head around curring and a few other Functional Programming concepts. Functions as first class citizens which can be passed and invoked in different contexts is easy to understand and follow.  Transforming functions and returning new ones is a bit harder to follow given my OO background.  Good post though.

Also, presumably, a language that supported named method parameters would allow you to not worry about order and know what params have not yet been defined.]]></description>
		<content:encoded><![CDATA[<p>I too was wondering about that.</p>
<p>I am still trying to wrap my head around curring and a few other Functional Programming concepts. Functions as first class citizens which can be passed and invoked in different contexts is easy to understand and follow.  Transforming functions and returning new ones is a bit harder to follow given my OO background.  Good post though.</p>
<p>Also, presumably, a language that supported named method parameters would allow you to not worry about order and know what params have not yet been defined.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Robinson</title>
		<link>http://twoguysarguing.wordpress.com/2009/11/04/placeholders-and-currying/#comment-94</link>
		<dc:creator><![CDATA[Tom Robinson]]></dc:creator>
		<pubDate>Thu, 05 Nov 2009 17:21:22 +0000</pubDate>
		<guid isPermaLink="false">http://twoguysarguing.wordpress.com/?p=518#comment-94</guid>
		<description><![CDATA[You should probably assign an object to the underscore, otherwise any argument which is undefined will match:

    js&gt; var _
    js&gt; _ == undefined
    true

Just doing &quot;var _ = {}&quot; should be sufficient.]]></description>
		<content:encoded><![CDATA[<p>You should probably assign an object to the underscore, otherwise any argument which is undefined will match:</p>
<p>    js&gt; var _<br />
    js&gt; _ == undefined<br />
    true</p>
<p>Just doing &#8220;var _ = {}&#8221; should be sufficient.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
