<?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: Understanding AS3 super() statement</title>
	<atom:link href="http://www.emanueleferonato.com/2009/08/10/understanding-as3-super-statement/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.emanueleferonato.com/2009/08/10/understanding-as3-super-statement/</link>
	<description>italian geek and PROgrammer</description>
	<lastBuildDate>Fri, 10 Feb 2012 12:12:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Muhammad bin Yusrat</title>
		<link>http://www.emanueleferonato.com/2009/08/10/understanding-as3-super-statement/#comment-1018933</link>
		<dc:creator>Muhammad bin Yusrat</dc:creator>
		<pubDate>Tue, 06 Dec 2011 18:03:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=1509#comment-1018933</guid>
		<description>This is without a doubt the most easy to understand explanation of Super() for AS3 on the internet. 

Hats of to you broh!

Thanks!</description>
		<content:encoded><![CDATA[<p>This is without a doubt the most easy to understand explanation of Super() for AS3 on the internet. </p>
<p>Hats of to you broh!</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vxcriss</title>
		<link>http://www.emanueleferonato.com/2009/08/10/understanding-as3-super-statement/#comment-903185</link>
		<dc:creator>vxcriss</dc:creator>
		<pubDate>Sat, 13 Aug 2011 21:39:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=1509#comment-903185</guid>
		<description>Very nice explanation and to the point, thanks. I just spent 15 minutes trying to figure out how this is called cause it wasn&#039;t working with parent as it does in PHP :)</description>
		<content:encoded><![CDATA[<p>Very nice explanation and to the point, thanks. I just spent 15 minutes trying to figure out how this is called cause it wasn&#8217;t working with parent as it does in PHP :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fernando Silva</title>
		<link>http://www.emanueleferonato.com/2009/08/10/understanding-as3-super-statement/#comment-864229</link>
		<dc:creator>Fernando Silva</dc:creator>
		<pubDate>Wed, 29 Jun 2011 13:52:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=1509#comment-864229</guid>
		<description>Thanks a lot for this knowledgement!</description>
		<content:encoded><![CDATA[<p>Thanks a lot for this knowledgement!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xavier</title>
		<link>http://www.emanueleferonato.com/2009/08/10/understanding-as3-super-statement/#comment-548930</link>
		<dc:creator>Xavier</dc:creator>
		<pubDate>Sun, 21 Feb 2010 13:04:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=1509#comment-548930</guid>
		<description>&quot;So in this case I could remove the import flash.display.Sprite; line. &quot;

you can remove it only if you dont use Sprite class inside. 

adding this var s:Sprite=new Sprite(); somewhere and removing import gives an error. Actually thats what i dont understand.</description>
		<content:encoded><![CDATA[<p>&#8220;So in this case I could remove the import flash.display.Sprite; line. &#8221;</p>
<p>you can remove it only if you dont use Sprite class inside. </p>
<p>adding this var s:Sprite=new Sprite(); somewhere and removing import gives an error. Actually thats what i dont understand.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ViolentAJ</title>
		<link>http://www.emanueleferonato.com/2009/08/10/understanding-as3-super-statement/#comment-484055</link>
		<dc:creator>ViolentAJ</dc:creator>
		<pubDate>Tue, 11 Aug 2009 19:21:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=1509#comment-484055</guid>
		<description>Also, don&#039;t forget that if the super-class&#039;s constructor had arguments, that you can call super(arg0, arg1, ... argX), and you would HAVE to if the super&#039;s constructor had arguments.</description>
		<content:encoded><![CDATA[<p>Also, don&#8217;t forget that if the super-class&#8217;s constructor had arguments, that you can call super(arg0, arg1, &#8230; argX), and you would HAVE to if the super&#8217;s constructor had arguments.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh</title>
		<link>http://www.emanueleferonato.com/2009/08/10/understanding-as3-super-statement/#comment-483795</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Tue, 11 Aug 2009 05:11:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=1509#comment-483795</guid>
		<description>I understand the super() command, but I always wondered why I would use it.</description>
		<content:encoded><![CDATA[<p>I understand the super() command, but I always wondered why I would use it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Jacobs</title>
		<link>http://www.emanueleferonato.com/2009/08/10/understanding-as3-super-statement/#comment-483581</link>
		<dc:creator>Andrew Jacobs</dc:creator>
		<pubDate>Mon, 10 Aug 2009 20:06:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=1509#comment-483581</guid>
		<description>Now that you mention it, it would be great to see a superclass that uses constructor parameters which follow the Strategy pattern.  That way you could derive subclasses from in-game Sprites and assign them different behaviors by passing in things like a &quot;AIStrategy&quot; or a &quot;PhysicsStrategy&quot;.

Thanks for the post, Emanuele.</description>
		<content:encoded><![CDATA[<p>Now that you mention it, it would be great to see a superclass that uses constructor parameters which follow the Strategy pattern.  That way you could derive subclasses from in-game Sprites and assign them different behaviors by passing in things like a &#8220;AIStrategy&#8221; or a &#8220;PhysicsStrategy&#8221;.</p>
<p>Thanks for the post, Emanuele.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://www.emanueleferonato.com/2009/08/10/understanding-as3-super-statement/#comment-483579</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Mon, 10 Aug 2009 20:03:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=1509#comment-483579</guid>
		<description>Hey,

Actually the textbook opinion is prefer composition over inheritance.
Well, I never really understood why so I used inheritance frequently. Cause I thought just like you hey nice, I put common stuff in the parent and add custom stuff to the child class.
After I while though I realized it often costs me time .. jumping back and forth between parent and child classes to make sure things happen as intended.

I guess it&#039;s because it increases my &#039;mental workload&#039;. With composition I only have to worry about a class&#039; public API -while with composition I have to worry about the whole class!
So nowadays I use inheritance only when it absolutely makes sense, like when a child class is really a variation of the parent class, not just borrowing some functionality.
For some reason I feel more relaxed nowadays. ;-)


Ciao, Dan</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>Actually the textbook opinion is prefer composition over inheritance.<br />
Well, I never really understood why so I used inheritance frequently. Cause I thought just like you hey nice, I put common stuff in the parent and add custom stuff to the child class.<br />
After I while though I realized it often costs me time .. jumping back and forth between parent and child classes to make sure things happen as intended.</p>
<p>I guess it&#8217;s because it increases my &#8216;mental workload&#8217;. With composition I only have to worry about a class&#8217; public API -while with composition I have to worry about the whole class!<br />
So nowadays I use inheritance only when it absolutely makes sense, like when a child class is really a variation of the parent class, not just borrowing some functionality.<br />
For some reason I feel more relaxed nowadays. ;-)</p>
<p>Ciao, Dan</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Database Caching 6/11 queries in 0.010 seconds using disk: basic

Served from: www.emanueleferonato.com @ 2012-02-11 04:49:11 -->
