<?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: More JSLint, less JSWTF</title>
	<atom:link href="http://www.allenpike.com/2010/more-jslint-less-jswtf/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.allenpike.com/2010/more-jslint-less-jswtf/</link>
	<description>Allen Pike on gidgets and gazmos.</description>
	<lastBuildDate>Fri, 04 May 2012 21:54:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Allen</title>
		<link>http://www.allenpike.com/2010/more-jslint-less-jswtf/comment-page-1/#comment-4128</link>
		<dc:creator>Allen</dc:creator>
		<pubDate>Tue, 23 Feb 2010 18:35:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.antipode.ca/?p=1408#comment-4128</guid>
		<description>Nigel: Indeed. The trailing-zero-means-octal is a lot more dangerous when you&#039;re using strings though, since they can be user input like a credit card expiry year. I guess the confusing part is:

&quot;09&quot; == 9; // true
parseInt(&quot;09&quot;) == 9; // false

Andy: The nice thing about it running on save is that it can pop up if there&#039;s a problem, and be silent if not. Pretty nice.</description>
		<content:encoded><![CDATA[<p>Nigel: Indeed. The trailing-zero-means-octal is a lot more dangerous when you&#8217;re using strings though, since they can be user input like a credit card expiry year. I guess the confusing part is:</p>
<p>&#8220;09&#8243; == 9; // true<br />
parseInt(&#8220;09&#8243;) == 9; // false</p>
<p>Andy: The nice thing about it running on save is that it can pop up if there&#8217;s a problem, and be silent if not. Pretty nice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Lumb</title>
		<link>http://www.allenpike.com/2010/more-jslint-less-jswtf/comment-page-1/#comment-4127</link>
		<dc:creator>Andy Lumb</dc:creator>
		<pubDate>Tue, 23 Feb 2010 16:44:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.antipode.ca/?p=1408#comment-4127</guid>
		<description>JSLint / Javascript Lint have saved my ass a bunch of times. I also use them for syntax checking. IE will give you &quot;expected }&quot; on the last line of the file... JSLint will give you a reference to where the problem actually is. I wrote a how-to on getting them running in Notepad++ here: http://stackoverflow.com/questions/1046810/using-jslint-in-notepad/1046826#1046826 . I hooked those scripts up to &quot;F9&quot; and run that before I even switch to the browser.</description>
		<content:encoded><![CDATA[<p>JSLint / Javascript Lint have saved my ass a bunch of times. I also use them for syntax checking. IE will give you &#8220;expected }&#8221; on the last line of the file&#8230; JSLint will give you a reference to where the problem actually is. I wrote a how-to on getting them running in Notepad++ here: <a href="http://stackoverflow.com/questions/1046810/using-jslint-in-notepad/1046826#1046826" rel="nofollow">http://stackoverflow.com/questions/1046810/using-jslint-in-notepad/1046826#1046826</a> . I hooked those scripts up to &#8220;F9&#8243; and run that before I even switch to the browser.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nigel</title>
		<link>http://www.allenpike.com/2010/more-jslint-less-jswtf/comment-page-1/#comment-4126</link>
		<dc:creator>Nigel</dc:creator>
		<pubDate>Tue, 23 Feb 2010 07:51:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.antipode.ca/?p=1408#comment-4126</guid>
		<description>Even as a total non-Javascript-programmer I&#039;ve been enjoying it, though the gigantic &quot;I see what you did there&quot; image at the top of every single freakin&#039; page is starting to get on my nerves a little. 

I&#039;m not sure exactly what octal&#039;s deal is, but Javascript is not the only language that has succumbed to its charms. C/C++ do a little better, GCC (at least, probably others, I&#039;m not rebooting into windows to check MSVC) will validate individual digits for you so you can use that EXACT example, but...

        printf(&quot;%d\n&quot;, 012); // prints &#039;10&#039;</description>
		<content:encoded><![CDATA[<p>Even as a total non-Javascript-programmer I&#8217;ve been enjoying it, though the gigantic &#8220;I see what you did there&#8221; image at the top of every single freakin&#8217; page is starting to get on my nerves a little. </p>
<p>I&#8217;m not sure exactly what octal&#8217;s deal is, but Javascript is not the only language that has succumbed to its charms. C/C++ do a little better, GCC (at least, probably others, I&#8217;m not rebooting into windows to check MSVC) will validate individual digits for you so you can use that EXACT example, but&#8230;</p>
<p>        printf(&#8220;%d\n&#8221;, 012); // prints &#8217;10&#8242;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

