<?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: Spanning javascript strings across multiple lines</title>
	<atom:link href="http://helephant.com/2007/05/spanning-javascript-strings-across-multiple-lines/feed/" rel="self" type="application/rss+xml" />
	<link>http://helephant.com/2007/05/spanning-javascript-strings-across-multiple-lines/</link>
	<description></description>
	<lastBuildDate>Thu, 24 Jun 2010 11:27:14 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
	<item>
		<title>By: Armando Wall</title>
		<link>http://helephant.com/2007/05/spanning-javascript-strings-across-multiple-lines/#comment-644</link>
		<dc:creator>Armando Wall</dc:creator>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://helephant.net/?p=314#comment-644</guid>
		<description>Javascript, as many other languages such as Java, C#, PHP, Actionscript, C++, Objective-C, etc, borrowed much of its syntax from the C language (if you don&#039;t believe me, just google for source code or a tutorial on C).  Having said that, this is a feature originally found in C, so it&#039;s safe to assume that Javascript inherited it from it as well.&lt;br /&gt;&lt;br /&gt;- Armando (&quot;Rafael&quot;) Wall.&lt;br /&gt;</description>
		<content:encoded><![CDATA[<p>Javascript, as many other languages such as Java, C#, PHP, Actionscript, C++, Objective-C, etc, borrowed much of its syntax from the C language (if you don&#8217;t believe me, just google for source code or a tutorial on C).  Having said that, this is a feature originally found in C, so it&#8217;s safe to assume that Javascript inherited it from it as well.</p>
<p>- Armando (&#8220;Rafael&#8221;) Wall.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Myself</title>
		<link>http://helephant.com/2007/05/spanning-javascript-strings-across-multiple-lines/#comment-645</link>
		<dc:creator>Myself</dc:creator>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://helephant.net/?p=314#comment-645</guid>
		<description>It&#039;s a different solution:&lt;br /&gt;&lt;br /&gt;Using a line break with the escape character, you just create a string literal, though it&#039;s defined in two lines of code.&lt;br /&gt;&lt;br /&gt;Using + you are creating two string objects and concatenating them to create a third string object. That takes more time and memory. It may seem it&#039;s not so bad, but if you do that many times with a not too powerful architecture (i.e. java ME), you will end up slowing your application because memory allocation and garbage collection will be quite more requent.</description>
		<content:encoded><![CDATA[<p>It&#8217;s a different solution:</p>
<p>Using a line break with the escape character, you just create a string literal, though it&#8217;s defined in two lines of code.</p>
<p>Using + you are creating two string objects and concatenating them to create a third string object. That takes more time and memory. It may seem it&#8217;s not so bad, but if you do that many times with a not too powerful architecture (i.e. java ME), you will end up slowing your application because memory allocation and garbage collection will be quite more requent.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
