<?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: Extending Objects in Underscore</title>
	<atom:link href="http://lostechies.com/chrismissal/2012/10/05/extending-objects-in-underscore/feed/" rel="self" type="application/rss+xml" />
	<link>http://lostechies.com/chrismissal/2012/10/05/extending-objects-in-underscore/</link>
	<description>Thoughts while working and playing as a Software Developer</description>
	<lastBuildDate>Mon, 10 Jun 2013 15:59:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
	<item>
		<title>By: Mike DiLorenzo</title>
		<link>http://lostechies.com/chrismissal/2012/10/05/extending-objects-in-underscore/#comment-507</link>
		<dc:creator>Mike DiLorenzo</dc:creator>
		<pubDate>Thu, 11 Apr 2013 16:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/chrismissal/?p=351#comment-507</guid>
		<description>jQuery&#039;s extend does a deep copy of nested objects.  Underscore&#039;s shallow copy of nested attributes can lead to some very subtle bugs.  Take a look at the following article for a good discussion of the issue:



http://techiella.wordpress.com/2013/04/02/underscore-js-extend-vs-jquery-extend/</description>
		<content:encoded><![CDATA[<p>jQuery&#8217;s extend does a deep copy of nested objects.  Underscore&#8217;s shallow copy of nested attributes can lead to some very subtle bugs.  Take a look at the following article for a good discussion of the issue:</p>
<p><a href="http://techiella.wordpress.com/2013/04/02/underscore-js-extend-vs-jquery-extend/" rel="nofollow">http://techiella.wordpress.com/2013/04/02/underscore-js-extend-vs-jquery-extend/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jmav</title>
		<link>http://lostechies.com/chrismissal/2012/10/05/extending-objects-in-underscore/#comment-472</link>
		<dc:creator>jmav</dc:creator>
		<pubDate>Sun, 14 Oct 2012 16:32:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/chrismissal/?p=351#comment-472</guid>
		<description>jQuery $.extend offer same functionality?</description>
		<content:encoded><![CDATA[<p>jQuery $.extend offer same functionality?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Morning Brew - Chris Alcock &#187; The Morning Brew #1205</title>
		<link>http://lostechies.com/chrismissal/2012/10/05/extending-objects-in-underscore/#comment-466</link>
		<dc:creator>The Morning Brew - Chris Alcock &#187; The Morning Brew #1205</dc:creator>
		<pubDate>Mon, 08 Oct 2012 08:33:13 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/chrismissal/?p=351#comment-466</guid>
		<description>[...] Extending Objects in Underscore - Chris Missal continues his object extension in JavaScript series with a look at how you can extend objects using the Underscore library, which provides the basis of Backbone JS [...]</description>
		<content:encoded><![CDATA[<p>[...] Extending Objects in Underscore &#8211; Chris Missal continues his object extension in JavaScript series with a look at how you can extend objects using the Underscore library, which provides the basis of Backbone JS [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Tavares</title>
		<link>http://lostechies.com/chrismissal/2012/10/05/extending-objects-in-underscore/#comment-469</link>
		<dc:creator>Chris Tavares</dc:creator>
		<pubDate>Sat, 06 Oct 2012 03:30:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/chrismissal/?p=351#comment-469</guid>
		<description>You&#039;re missing an important semantic here - _.extend modifies the first object you pass it. So after you call _.extend(start, more, extra), the start object has changed. In fact, start is the object that is returned. Your example makes it look like start isn&#039;t modified.</description>
		<content:encoded><![CDATA[<p>You&#8217;re missing an important semantic here &#8211; _.extend modifies the first object you pass it. So after you call _.extend(start, more, extra), the start object has changed. In fact, start is the object that is returned. Your example makes it look like start isn&#8217;t modified.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Murray</title>
		<link>http://lostechies.com/chrismissal/2012/10/05/extending-objects-in-underscore/#comment-465</link>
		<dc:creator>Mike Murray</dc:creator>
		<pubDate>Fri, 05 Oct 2012 19:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/chrismissal/?p=351#comment-465</guid>
		<description>You can also use the alternate Underscore syntax:

var extended = _(start).extend(more, extra);</description>
		<content:encoded><![CDATA[<p>You can also use the alternate Underscore syntax:</p>
<p>var extended = _(start).extend(more, extra);</p>
]]></content:encoded>
	</item>
</channel>
</rss>
