<?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: Instance names and code hinting - Tips &#038; Tricks</title>
	<atom:link href="http://www.a-sfug.com/instance-names-and-code-hinting-tips-tricks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.a-sfug.com/instance-names-and-code-hinting-tips-tricks/</link>
	<description>Another Singapore Flash User Group</description>
	<pubDate>Mon, 22 Mar 2010 07:28:14 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Lincity &#187; Blog Archive &#187; Getting Start with Action Script 3.</title>
		<link>http://www.a-sfug.com/instance-names-and-code-hinting-tips-tricks/comment-page-1/#comment-458</link>
		<dc:creator>Lincity &#187; Blog Archive &#187; Getting Start with Action Script 3.</dc:creator>
		<pubDate>Wed, 13 Jan 2010 09:26:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.a-sfug.com/?p=136#comment-458</guid>
		<description>[...] Instance names and code hinting – Tips &#38; Tricks [...]</description>
		<content:encoded><![CDATA[<p>[...] Instance names and code hinting – Tips &amp; Tricks [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ed</title>
		<link>http://www.a-sfug.com/instance-names-and-code-hinting-tips-tricks/comment-page-1/#comment-429</link>
		<dc:creator>Ed</dc:creator>
		<pubDate>Tue, 17 Mar 2009 10:02:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.a-sfug.com/?p=136#comment-429</guid>
		<description>Chris I use this code hinting method mainly to speed up development time because it will fill in those extra characters for you. And yes the actions panel in Flash is really bad but if you are doing a quick job like a banner then its a handy tip.

What you should do if you are not referencing an object on stage (like a movie clip, button or text field) is to give it a data type. ie. var myArray:Array = new Array();
This will also allow for code hinting in both the actions panel and in external tools like FlashDevelop.</description>
		<content:encoded><![CDATA[<p>Chris I use this code hinting method mainly to speed up development time because it will fill in those extra characters for you. And yes the actions panel in Flash is really bad but if you are doing a quick job like a banner then its a handy tip.</p>
<p>What you should do if you are not referencing an object on stage (like a movie clip, button or text field) is to give it a data type. ie. var myArray:Array = new Array();<br />
This will also allow for code hinting in both the actions panel and in external tools like FlashDevelop.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.a-sfug.com/instance-names-and-code-hinting-tips-tricks/comment-page-1/#comment-428</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Tue, 17 Mar 2009 09:50:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.a-sfug.com/?p=136#comment-428</guid>
		<description>Seems that we all go full circle;

Back when I first started C/C++ I was using EDIT - yes the evil dos editor - and after a short time got into Visual Studio and it's lovely intellisense (code hinting) and couldn't look back.

Now about 4 years on, even with new languages I don't use hinting any more and even find it annoying; It's great when you're getting used to a language during the initial stages but I always feel that the actual documentation plays a much better role than trying to guess which function does what and then trying to read through the arguments of that function -- Go find the documentation and some examples and you'll learn a lot more.

Given, if you're just lazy and can't remember function names or argument layout it's always nice to have a little help but thankfully I seem to remember most of this stuff to the point that I don't even think about code hinting any more.

Most of the open source alternatives (eclipse included) don't seem to feel as nice as the one in Visual Studio so maybe they're just not good enough; I did notice VS now pulls in adjacent comments from functions and classes to give you even more detail about the item which seems to help a lot more.

Second issue that annoys me about the built in editor for flash is what you post above; Why should I name my variables in such a way to help the editor? The editor should just be smart enough to figure it out - reminds me of the good ol' vb days of 'btnOkay' and 'lblName', heh. I hated that. :-p</description>
		<content:encoded><![CDATA[<p>Seems that we all go full circle;</p>
<p>Back when I first started C/C++ I was using EDIT - yes the evil dos editor - and after a short time got into Visual Studio and it&#8217;s lovely intellisense (code hinting) and couldn&#8217;t look back.</p>
<p>Now about 4 years on, even with new languages I don&#8217;t use hinting any more and even find it annoying; It&#8217;s great when you&#8217;re getting used to a language during the initial stages but I always feel that the actual documentation plays a much better role than trying to guess which function does what and then trying to read through the arguments of that function &#8212; Go find the documentation and some examples and you&#8217;ll learn a lot more.</p>
<p>Given, if you&#8217;re just lazy and can&#8217;t remember function names or argument layout it&#8217;s always nice to have a little help but thankfully I seem to remember most of this stuff to the point that I don&#8217;t even think about code hinting any more.</p>
<p>Most of the open source alternatives (eclipse included) don&#8217;t seem to feel as nice as the one in Visual Studio so maybe they&#8217;re just not good enough; I did notice VS now pulls in adjacent comments from functions and classes to give you even more detail about the item which seems to help a lot more.</p>
<p>Second issue that annoys me about the built in editor for flash is what you post above; Why should I name my variables in such a way to help the editor? The editor should just be smart enough to figure it out - reminds me of the good ol&#8217; vb days of &#8216;btnOkay&#8217; and &#8216;lblName&#8217;, heh. I hated that. :-p</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ed</title>
		<link>http://www.a-sfug.com/instance-names-and-code-hinting-tips-tricks/comment-page-1/#comment-426</link>
		<dc:creator>Ed</dc:creator>
		<pubDate>Wed, 11 Mar 2009 16:16:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.a-sfug.com/?p=136#comment-426</guid>
		<description>Thanks Shang. Yeah this work in FlashDevelop, doesn't seem to work in Flex Builder and I'm not sure about FDT (does anyone have FDT to see if it does work?). I'm a big FlashDevelop user as well.</description>
		<content:encoded><![CDATA[<p>Thanks Shang. Yeah this work in FlashDevelop, doesn&#8217;t seem to work in Flex Builder and I&#8217;m not sure about FDT (does anyone have FDT to see if it does work?). I&#8217;m a big FlashDevelop user as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shang</title>
		<link>http://www.a-sfug.com/instance-names-and-code-hinting-tips-tricks/comment-page-1/#comment-425</link>
		<dc:creator>Shang</dc:creator>
		<pubDate>Wed, 11 Mar 2009 14:06:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.a-sfug.com/?p=136#comment-425</guid>
		<description>well, this little trick also works in flashdevelop.</description>
		<content:encoded><![CDATA[<p>well, this little trick also works in flashdevelop.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MrSteel</title>
		<link>http://www.a-sfug.com/instance-names-and-code-hinting-tips-tricks/comment-page-1/#comment-424</link>
		<dc:creator>MrSteel</dc:creator>
		<pubDate>Wed, 11 Mar 2009 11:33:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.a-sfug.com/?p=136#comment-424</guid>
		<description>cool, but you are enough hardcore to switch to some better editor, it's unrealistic to program in Flash IDE :)
my choice is still FlashDevelop even FDT is getting more popular
it will give you all the pleasure of real OOP and hinting and a lot more

http://livedocs.adobe.com/flash/9.0/UsingFlash/help.html?content=WS3e7c64e37a1d85e1e229110db38dec34-7f9f.html
ActionsPanel.xml contains code hinting preferances</description>
		<content:encoded><![CDATA[<p>cool, but you are enough hardcore to switch to some better editor, it&#8217;s unrealistic to program in Flash IDE <img src='http://www.a-sfug.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
my choice is still FlashDevelop even FDT is getting more popular<br />
it will give you all the pleasure of real OOP and hinting and a lot more</p>
<p><a href="http://livedocs.adobe.com/flash/9.0/UsingFlash/help.html?content=WS3e7c64e37a1d85e1e229110db38dec34-7f9f.html" rel="nofollow">http://livedocs.adobe.com/flash/9.0/UsingFlash/help.html?content=WS3e7c64e37a1d85e1e229110db38dec34-7f9f.html</a><br />
ActionsPanel.xml contains code hinting preferances</p>
]]></content:encoded>
	</item>
</channel>
</rss>
