<?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: AS3 CASALib Useful Library of Common Functions and Tools for Flash</title>
	<atom:link href="http://drawlogic.com/2008/12/04/as3-casalib-useful-library-of-common-functions-and-tools-for-flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://drawlogic.com/2008/12/04/as3-casalib-useful-library-of-common-functions-and-tools-for-flash/</link>
	<description>interactive and game development technologies for the web - flash, flex, unity3d, silverlight, javascript</description>
	<lastBuildDate>Fri, 12 Mar 2010 09:56:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: drawk</title>
		<link>http://drawlogic.com/2008/12/04/as3-casalib-useful-library-of-common-functions-and-tools-for-flash/comment-page-1/#comment-2249</link>
		<dc:creator>drawk</dc:creator>
		<pubDate>Sun, 07 Dec 2008 05:18:24 +0000</pubDate>
		<guid isPermaLink="false">http://drawlogic.com/?p=292#comment-2249</guid>
		<description>Hey Aaron,

On the this thing.  Yeh I dont&#039; think it is an issue and it was clear that it was a clarification on scoping thing.  It is somewhat like Python which I am fond of with self. Where that is required and is pythonic for as3 using this is probably not as widespread unless it is to differentiate from from a super or local.  

In any case it is a quality library with great ideas thanks for making it and releasing it.  Another cool thing about open source is you get your code reviewed.  It helps to solidify your reasoning and maybe might change things who knows.  I think the reason it was mentioned was just because it was not common in most AS3 standard code styles.  There is a wide range of styles out there depending on where you come from.  For instance box2dFlashAS3 is heavily c++ styled, still a quality kit.</description>
		<content:encoded><![CDATA[<p>Hey Aaron,</p>
<p>On the this thing.  Yeh I dont&#8217; think it is an issue and it was clear that it was a clarification on scoping thing.  It is somewhat like Python which I am fond of with self. Where that is required and is pythonic for as3 using this is probably not as widespread unless it is to differentiate from from a super or local.  </p>
<p>In any case it is a quality library with great ideas thanks for making it and releasing it.  Another cool thing about open source is you get your code reviewed.  It helps to solidify your reasoning and maybe might change things who knows.  I think the reason it was mentioned was just because it was not common in most AS3 standard code styles.  There is a wide range of styles out there depending on where you come from.  For instance box2dFlashAS3 is heavily c++ styled, still a quality kit.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron Clinger</title>
		<link>http://drawlogic.com/2008/12/04/as3-casalib-useful-library-of-common-functions-and-tools-for-flash/comment-page-1/#comment-2215</link>
		<dc:creator>Aaron Clinger</dc:creator>
		<pubDate>Sat, 06 Dec 2008 13:45:17 +0000</pubDate>
		<guid isPermaLink="false">http://drawlogic.com/?p=292#comment-2215</guid>
		<description>Hi Ryan,

Wanted to thank you for the write-up. I hope you and your readers find the library helpful.

Now for why I use &#039;this&#039;... A lot of people find it unnecessary, but we do it for clarity and to help with scoping. If you have a bunch of properties/variables in a large function you can easily tell if the variable is a temporary variable or a class level variable if it’s prefixed with &#039;this&#039;. It&#039;s a readability thing. I know in a lot of cases it&#039;s pretty clear, but we find it easier to uphold a constant rule then make cases for when it should or shouldn&#039;t apply. Prefixing function calls with &#039;this&#039; is also more of a consistency thing then anything else. But it does make it clear the method is part of the class and not an anonymous temp function.

Similarly with prefixing private or protected methods with an underscore. Seeing a method call you can instantly know if it’s private or protected, without searching for the declaration.

I know there are parties that feel strongly the opposite, but with the power of open source and a few find-and-replaces they can have their way. :-)

I’d love any further feedback you or readers have directly, or on the CASA Lib discussion list.

Thanks,
Aaron</description>
		<content:encoded><![CDATA[<p>Hi Ryan,</p>
<p>Wanted to thank you for the write-up. I hope you and your readers find the library helpful.</p>
<p>Now for why I use &#8216;this&#8217;&#8230; A lot of people find it unnecessary, but we do it for clarity and to help with scoping. If you have a bunch of properties/variables in a large function you can easily tell if the variable is a temporary variable or a class level variable if it’s prefixed with &#8216;this&#8217;. It&#8217;s a readability thing. I know in a lot of cases it&#8217;s pretty clear, but we find it easier to uphold a constant rule then make cases for when it should or shouldn&#8217;t apply. Prefixing function calls with &#8216;this&#8217; is also more of a consistency thing then anything else. But it does make it clear the method is part of the class and not an anonymous temp function.</p>
<p>Similarly with prefixing private or protected methods with an underscore. Seeing a method call you can instantly know if it’s private or protected, without searching for the declaration.</p>
<p>I know there are parties that feel strongly the opposite, but with the power of open source and a few find-and-replaces they can have their way. <img src='http://drawlogic.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>I’d love any further feedback you or readers have directly, or on the CASA Lib discussion list.</p>
<p>Thanks,<br />
Aaron</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Glue Blog &#187; Blog Archive &#187; Glue’s favoriete weblinks (deel 2)</title>
		<link>http://drawlogic.com/2008/12/04/as3-casalib-useful-library-of-common-functions-and-tools-for-flash/comment-page-1/#comment-2174</link>
		<dc:creator>Glue Blog &#187; Blog Archive &#187; Glue’s favoriete weblinks (deel 2)</dc:creator>
		<pubDate>Fri, 05 Dec 2008 17:03:30 +0000</pubDate>
		<guid isPermaLink="false">http://drawlogic.com/?p=292#comment-2174</guid>
		<description>[...] CasaLib, een Actionscript 3 library met een grote verzameling handige functies CasaLib [...]</description>
		<content:encoded><![CDATA[<p>[...] CasaLib, een Actionscript 3 library met een grote verzameling handige functies CasaLib [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ventur</title>
		<link>http://drawlogic.com/2008/12/04/as3-casalib-useful-library-of-common-functions-and-tools-for-flash/comment-page-1/#comment-2162</link>
		<dc:creator>Ventur</dc:creator>
		<pubDate>Fri, 05 Dec 2008 10:00:30 +0000</pubDate>
		<guid isPermaLink="false">http://drawlogic.com/?p=292#comment-2162</guid>
		<description>Thanks, it great news!</description>
		<content:encoded><![CDATA[<p>Thanks, it great news!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: drawk</title>
		<link>http://drawlogic.com/2008/12/04/as3-casalib-useful-library-of-common-functions-and-tools-for-flash/comment-page-1/#comment-2159</link>
		<dc:creator>drawk</dc:creator>
		<pubDate>Fri, 05 Dec 2008 08:01:42 +0000</pubDate>
		<guid isPermaLink="false">http://drawlogic.com/?p=292#comment-2159</guid>
		<description>Hey Sascha,

Yeh that actually really bothered me looking at the code.  However there are some great ideas in the library that even the observance of the classes, even if you want to recreate them.  The _ and the this references were not needed not my style but to each his/her own.</description>
		<content:encoded><![CDATA[<p>Hey Sascha,</p>
<p>Yeh that actually really bothered me looking at the code.  However there are some great ideas in the library that even the observance of the classes, even if you want to recreate them.  The _ and the this references were not needed not my style but to each his/her own.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sascha/hdrs</title>
		<link>http://drawlogic.com/2008/12/04/as3-casalib-useful-library-of-common-functions-and-tools-for-flash/comment-page-1/#comment-2152</link>
		<dc:creator>sascha/hdrs</dc:creator>
		<pubDate>Fri, 05 Dec 2008 04:44:46 +0000</pubDate>
		<guid isPermaLink="false">http://drawlogic.com/?p=292#comment-2152</guid>
		<description>Looks like a nice, helpful library! When looking at their code though again I&#039;m wondering why so many programmers use tons of &#039;this&#039; where it&#039;s not necessary! It seems they don&#039;t fully understand where and where not &#039;this&#039; is actually needed. I&#039;d say get rid of those damn &#039;this&#039;es where they aren&#039;t needed!</description>
		<content:encoded><![CDATA[<p>Looks like a nice, helpful library! When looking at their code though again I&#8217;m wondering why so many programmers use tons of &#8216;this&#8217; where it&#8217;s not necessary! It seems they don&#8217;t fully understand where and where not &#8216;this&#8217; is actually needed. I&#8217;d say get rid of those damn &#8216;this&#8217;es where they aren&#8217;t needed!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
