<?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: ActionScript 3: Void is now void	</title>
	<atom:link href="https://jessewarden.com/2006/01/actionscript-3-void-is-now-void.html/feed" rel="self" type="application/rss+xml" />
	<link>https://jessewarden.com/2006/01/actionscript-3-void-is-now-void.html</link>
	<description>Software &#124; Fitness &#124; Gaming</description>
	<lastBuildDate>Thu, 02 Feb 2006 07:11:48 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: JesterXL		</title>
		<link>https://jessewarden.com/2006/01/actionscript-3-void-is-now-void.html/comment-page-1#comment-3308</link>

		<dc:creator><![CDATA[JesterXL]]></dc:creator>
		<pubDate>Thu, 02 Feb 2006 07:11:48 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=962#comment-3308</guid>

					<description><![CDATA[For everything but constructors, you will see a warning if a function doesn&#039;t return a type.  If it is invoked like it returns something, you&#039;ll get an error.

While the warning is not an error, you pay for it in speed this time around, not just debugging time later on.

Besides, if you&#039;re lazy or in a hurry, you can always do:

function getName():*
{
}

The * is now &#039;no-type&#039;.  There is a word for nothing, null, which is something.  Same thing for *; it&#039;s now representational of returning no type... which is differnt than void, which means no returning of values.


]]></description>
			<content:encoded><![CDATA[<p>For everything but constructors, you will see a warning if a function doesn&#8217;t return a type.  If it is invoked like it returns something, you&#8217;ll get an error.</p>
<p>While the warning is not an error, you pay for it in speed this time around, not just debugging time later on.</p>
<p>Besides, if you&#8217;re lazy or in a hurry, you can always do:</p>
<p>function getName():*<br />
{<br />
}</p>
<p>The * is now &#8216;no-type&#8217;.  There is a word for nothing, null, which is something.  Same thing for *; it&#8217;s now representational of returning no type&#8230; which is differnt than void, which means no returning of values.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Danny Miller		</title>
		<link>https://jessewarden.com/2006/01/actionscript-3-void-is-now-void.html/comment-page-1#comment-3307</link>

		<dc:creator><![CDATA[Danny Miller]]></dc:creator>
		<pubDate>Thu, 02 Feb 2006 07:04:43 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=962#comment-3307</guid>

					<description><![CDATA[I think functions should ALWAYS specify return types. AS is such a lienent language, and I think that the language should become more strict. I actually like seeing errors - I know it sounds weird - but then I know that my program has a better chance of running correctly and efficiently.]]></description>
			<content:encoded><![CDATA[<p>I think functions should ALWAYS specify return types. AS is such a lienent language, and I think that the language should become more strict. I actually like seeing errors &#8211; I know it sounds weird &#8211; but then I know that my program has a better chance of running correctly and efficiently.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Derek Vadneau		</title>
		<link>https://jessewarden.com/2006/01/actionscript-3-void-is-now-void.html/comment-page-1#comment-3306</link>

		<dc:creator><![CDATA[Derek Vadneau]]></dc:creator>
		<pubDate>Wed, 01 Feb 2006 23:45:25 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=962#comment-3306</guid>

					<description><![CDATA[First off, thanks Jesse - that would have bit me quickly!

@eokyere:
As silly as it may sound, defaulting to void doesn&#039;t sound like a good idea.  While not everyone may agree with me, you may still want to have a function be able to return various datatypes.  Not typing the return makes it possible to do that and to not return anything if you so desire.  If you used void you would be locked into not returning anything, or using Object to indicate the return could be any datatype, but would have to return something.

I realize that sounds strange going into AS3, but that&#039;s my take on why the default wouldn&#039;t be void.]]></description>
			<content:encoded><![CDATA[<p>First off, thanks Jesse &#8211; that would have bit me quickly!</p>
<p>@eokyere:<br />
As silly as it may sound, defaulting to void doesn&#8217;t sound like a good idea.  While not everyone may agree with me, you may still want to have a function be able to return various datatypes.  Not typing the return makes it possible to do that and to not return anything if you so desire.  If you used void you would be locked into not returning anything, or using Object to indicate the return could be any datatype, but would have to return something.</p>
<p>I realize that sounds strange going into AS3, but that&#8217;s my take on why the default wouldn&#8217;t be void.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: JesterXL		</title>
		<link>https://jessewarden.com/2006/01/actionscript-3-void-is-now-void.html/comment-page-1#comment-3305</link>

		<dc:creator><![CDATA[JesterXL]]></dc:creator>
		<pubDate>Wed, 01 Feb 2006 17:07:37 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=962#comment-3305</guid>

					<description><![CDATA[It&#039;s ECMAScript 4 compliant, so my guess is the ECMA 4 creators had a reason, they just aren&#039;t Flash bloggers.]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s ECMAScript 4 compliant, so my guess is the ECMA 4 creators had a reason, they just aren&#8217;t Flash bloggers.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: eokyere		</title>
		<link>https://jessewarden.com/2006/01/actionscript-3-void-is-now-void.html/comment-page-1#comment-3304</link>

		<dc:creator><![CDATA[eokyere]]></dc:creator>
		<pubDate>Wed, 01 Feb 2006 11:21:21 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=962#comment-3304</guid>

					<description><![CDATA[might seem trivial to most people, but i always thought the cap &#039;V&#039; was ugly; but if we are making changes now, why &#039;()&#039; doesn&#039;t default to &#039;():void&#039; ... leaving &#039;()&#039; communicates &#039;nothingness&#039; better to me than &#039;():void&#039; but i&#039;m not sure what others think]]></description>
			<content:encoded><![CDATA[<p>might seem trivial to most people, but i always thought the cap &#8216;V&#8217; was ugly; but if we are making changes now, why &#8216;()&#8217; doesn&#8217;t default to &#8216;():void&#8217; &#8230; leaving &#8216;()&#8217; communicates &#8216;nothingness&#8217; better to me than &#8216;():void&#8217; but i&#8217;m not sure what others think</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
