<?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: What to Expect From typeof</title>
	<atom:link href="http://scriptnode.com/article/what-to-expect-from-typeof/feed/" rel="self" type="application/rss+xml" />
	<link>http://scriptnode.com/article/what-to-expect-from-typeof/</link>
	<description>Tips and tricks for web developers.</description>
	<lastBuildDate>Sun, 18 Jul 2010 10:29:51 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Rob Miller</title>
		<link>http://scriptnode.com/article/what-to-expect-from-typeof/comment-page-1/#comment-295</link>
		<dc:creator>Rob Miller</dc:creator>
		<pubDate>Wed, 10 Jun 2009 07:02:24 +0000</pubDate>
		<guid isPermaLink="false">http://scriptnode.com/?p=29#comment-295</guid>
		<description>COOL SITE</description>
		<content:encoded><![CDATA[<p>COOL SITE</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Las limitaciones de Typeof - elWebmaster.com</title>
		<link>http://scriptnode.com/article/what-to-expect-from-typeof/comment-page-1/#comment-90</link>
		<dc:creator>Las limitaciones de Typeof - elWebmaster.com</dc:creator>
		<pubDate>Tue, 29 Jul 2008 14:41:12 +0000</pubDate>
		<guid isPermaLink="false">http://scriptnode.com/?p=29#comment-90</guid>
		<description>[...] Fuente: scriptNode  [...]</description>
		<content:encoded><![CDATA[<p>[...] Fuente: scriptNode  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phil M</title>
		<link>http://scriptnode.com/article/what-to-expect-from-typeof/comment-page-1/#comment-43</link>
		<dc:creator>Phil M</dc:creator>
		<pubDate>Fri, 11 Jul 2008 13:40:35 +0000</pubDate>
		<guid isPermaLink="false">http://scriptnode.com/?p=29#comment-43</guid>
		<description>Agreed :) Looking forward to the update</description>
		<content:encoded><![CDATA[<p>Agreed :) Looking forward to the update</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Hackett</title>
		<link>http://scriptnode.com/article/what-to-expect-from-typeof/comment-page-1/#comment-38</link>
		<dc:creator>Matt Hackett</dc:creator>
		<pubDate>Thu, 10 Jul 2008 16:33:03 +0000</pubDate>
		<guid isPermaLink="false">http://scriptnode.com/?p=29#comment-38</guid>
		<description>Ah, I see what you&#039;re saying. Yes, Crockford&#039;s style is very rigid, very black and white. For the record, I agree with most of what he preaches. But he often declares things as &quot;incorrect&quot; or &quot;a mistake&quot; when they&#039;re sometimes just curious or unexpected. They&#039;re not always necessarily wrong, just maybe odd.

Actually I&#039;ve been rewriting this particular article since I read his book JavaScript: The Good Parts. It&#039;s now about three times as long and offers workarounds for when typeof is not helpful. Hopefully I&#039;ll have that done soon.</description>
		<content:encoded><![CDATA[<p>Ah, I see what you&#8217;re saying. Yes, Crockford&#8217;s style is very rigid, very black and white. For the record, I agree with most of what he preaches. But he often declares things as &#8220;incorrect&#8221; or &#8220;a mistake&#8221; when they&#8217;re sometimes just curious or unexpected. They&#8217;re not always necessarily wrong, just maybe odd.</p>
<p>Actually I&#8217;ve been rewriting this particular article since I read his book JavaScript: The Good Parts. It&#8217;s now about three times as long and offers workarounds for when typeof is not helpful. Hopefully I&#8217;ll have that done soon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phil M</title>
		<link>http://scriptnode.com/article/what-to-expect-from-typeof/comment-page-1/#comment-36</link>
		<dc:creator>Phil M</dc:creator>
		<pubDate>Thu, 10 Jul 2008 11:36:18 +0000</pubDate>
		<guid isPermaLink="false">http://scriptnode.com/?p=29#comment-36</guid>
		<description>Sorry I worded that badly. I meant a typo is a mistake. I&#039;m trying to say that its a bit unfair to just call these things mistakes when a they&#039;re more like debatable decisions by the spec writers. I agree the ambiguity isn&#039;t great. Function being typeof &quot;function&quot; is a strange one. Perhaps this should be &quot;object&quot; too. We have instanceof for determining exactly what object something is.</description>
		<content:encoded><![CDATA[<p>Sorry I worded that badly. I meant a typo is a mistake. I&#8217;m trying to say that its a bit unfair to just call these things mistakes when a they&#8217;re more like debatable decisions by the spec writers. I agree the ambiguity isn&#8217;t great. Function being typeof &#8220;function&#8221; is a strange one. Perhaps this should be &#8220;object&#8221; too. We have instanceof for determining exactly what object something is.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Hackett</title>
		<link>http://scriptnode.com/article/what-to-expect-from-typeof/comment-page-1/#comment-34</link>
		<dc:creator>Matt Hackett</dc:creator>
		<pubDate>Wed, 09 Jul 2008 18:54:35 +0000</pubDate>
		<guid isPermaLink="false">http://scriptnode.com/?p=29#comment-34</guid>
		<description>Well typos are still mistakes right? And the problem with using &quot;object&quot; for arrays is that almost everything in JavaScript is an object. typeof array being &quot;object&quot; is bad for the same reason that typeof function being &quot;function&quot; is good. Ambiguity is not helpful.</description>
		<content:encoded><![CDATA[<p>Well typos are still mistakes right? And the problem with using &#8220;object&#8221; for arrays is that almost everything in JavaScript is an object. typeof array being &#8220;object&#8221; is bad for the same reason that typeof function being &#8220;function&#8221; is good. Ambiguity is not helpful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phil M</title>
		<link>http://scriptnode.com/article/what-to-expect-from-typeof/comment-page-1/#comment-30</link>
		<dc:creator>Phil M</dc:creator>
		<pubDate>Wed, 09 Jul 2008 10:55:55 +0000</pubDate>
		<guid isPermaLink="false">http://scriptnode.com/?p=29#comment-30</guid>
		<description>An array is an object. So object should be expected for this. I think Crockfords wrong to call this a mistake. Although a function is an object too, the spec (ecma262) makes a special case for functions.

The spec states null should be typeof &quot;object&quot;. Not exactly sure why though. Perhaps because its a null reference, which would point to an object if it wasn&#039;t null. That might sound a bit weak, but again, I&#039;m sure there is logical reasoning for this and its not a &quot;mistake&quot;, like a typo or something.</description>
		<content:encoded><![CDATA[<p>An array is an object. So object should be expected for this. I think Crockfords wrong to call this a mistake. Although a function is an object too, the spec (ecma262) makes a special case for functions.</p>
<p>The spec states null should be typeof &#8220;object&#8221;. Not exactly sure why though. Perhaps because its a null reference, which would point to an object if it wasn&#8217;t null. That might sound a bit weak, but again, I&#8217;m sure there is logical reasoning for this and its not a &#8220;mistake&#8221;, like a typo or something.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
