<?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: accessor methods, actionscript, and you</title>
	<atom:link href="http://gettingandsetting.com/2008/05/09/accesor-methods-actionscript-and-you/feed/" rel="self" type="application/rss+xml" />
	<link>http://gettingandsetting.com/2008/05/09/accesor-methods-actionscript-and-you/</link>
	<description>scott evans :: adobe flash builder</description>
	<lastBuildDate>Tue, 11 May 2010 15:23:16 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: polyGeek</title>
		<link>http://gettingandsetting.com/2008/05/09/accesor-methods-actionscript-and-you/comment-page-1/#comment-109</link>
		<dc:creator>polyGeek</dc:creator>
		<pubDate>Mon, 02 Mar 2009 16:41:02 +0000</pubDate>
		<guid isPermaLink="false">http://gettingandsetting.com/?p=4#comment-109</guid>
		<description>I just watched your interview with Ryan. Good stuff. I&#039;d request that there is an option in FB to chose the sort of code formatting the developer uses. I know that most follow the Java standard of putting { on the line after the method declaration or conditional. However I put the { on the same line.</description>
		<content:encoded><![CDATA[<p>I just watched your interview with Ryan. Good stuff. I&#8217;d request that there is an option in FB to chose the sort of code formatting the developer uses. I know that most follow the Java standard of putting { on the line after the method declaration or conditional. However I put the { on the same line.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: todd</title>
		<link>http://gettingandsetting.com/2008/05/09/accesor-methods-actionscript-and-you/comment-page-1/#comment-108</link>
		<dc:creator>todd</dc:creator>
		<pubDate>Fri, 27 Feb 2009 13:36:17 +0000</pubDate>
		<guid isPermaLink="false">http://gettingandsetting.com/?p=4#comment-108</guid>
		<description>I just watched the video interview of you with Ryan S.  And I thought I&#039;d post my simple IDE enchanement here (note, it&#039;s also up in the FB Jira as feature request FB-17375).  Basically, I&#039;m looking for quick access into the native operating systems file browser.

When exploring projects in the Flex Navigator view pane, it&#039;s be very nice to be able to right-click (option-click) the name of the project (and or individual files) and have an option to open up the native operating system&#039;s file browser in that location.

I find that right now i hvae to
1) right-click
2) bring up the properties window
3) copy the file path to the project
4) open a native file browser
5) paste the copied path into the file browser
6) use as needed.

I also find that do to many quirks with SubEclipse plugin for Subversion that I need to use Subversion tools in the native file browser all the time, and as a result I&#039;m doing stpes 1 though 6 many times/day above.

Thanks.</description>
		<content:encoded><![CDATA[<p>I just watched the video interview of you with Ryan S.  And I thought I&#8217;d post my simple IDE enchanement here (note, it&#8217;s also up in the FB Jira as feature request FB-17375).  Basically, I&#8217;m looking for quick access into the native operating systems file browser.</p>
<p>When exploring projects in the Flex Navigator view pane, it&#8217;s be very nice to be able to right-click (option-click) the name of the project (and or individual files) and have an option to open up the native operating system&#8217;s file browser in that location.</p>
<p>I find that right now i hvae to<br />
1) right-click<br />
2) bring up the properties window<br />
3) copy the file path to the project<br />
4) open a native file browser<br />
5) paste the copied path into the file browser<br />
6) use as needed.</p>
<p>I also find that do to many quirks with SubEclipse plugin for Subversion that I need to use Subversion tools in the native file browser all the time, and as a result I&#8217;m doing stpes 1 though 6 many times/day above.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jonathan doklovic</title>
		<link>http://gettingandsetting.com/2008/05/09/accesor-methods-actionscript-and-you/comment-page-1/#comment-106</link>
		<dc:creator>jonathan doklovic</dc:creator>
		<pubDate>Fri, 09 Jan 2009 15:21:57 +0000</pubDate>
		<guid isPermaLink="false">http://gettingandsetting.com/?p=4#comment-106</guid>
		<description>I agree with &quot;Epoch of Entropy&quot;.
One of the things that drives me crazy about FB3 is that it has almost all of the same concepts (or at least it should) as the JDT but it either implements them differently or features are simply missing.

Almost everything on the JDT editor view context menu is appropriate for as3 code and should behave the same way.

I do a lot of coding where I&#039;m switching between Java and AS3 (developing backend with frontend) and it pains me that the JDT has really great refactoring tools but FB does not.

Don&#039;t re-invent the wheel. Flash developers: stop bashing Java for no reason and realize that the two are very similar and should share toolsets whenever possible. If it&#039;s not perfect, at least it&#039;s consistent.</description>
		<content:encoded><![CDATA[<p>I agree with &#8220;Epoch of Entropy&#8221;.<br />
One of the things that drives me crazy about FB3 is that it has almost all of the same concepts (or at least it should) as the JDT but it either implements them differently or features are simply missing.</p>
<p>Almost everything on the JDT editor view context menu is appropriate for as3 code and should behave the same way.</p>
<p>I do a lot of coding where I&#8217;m switching between Java and AS3 (developing backend with frontend) and it pains me that the JDT has really great refactoring tools but FB does not.</p>
<p>Don&#8217;t re-invent the wheel. Flash developers: stop bashing Java for no reason and realize that the two are very similar and should share toolsets whenever possible. If it&#8217;s not perfect, at least it&#8217;s consistent.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://gettingandsetting.com/2008/05/09/accesor-methods-actionscript-and-you/comment-page-1/#comment-105</link>
		<dc:creator>John</dc:creator>
		<pubDate>Fri, 12 Dec 2008 16:58:40 +0000</pubDate>
		<guid isPermaLink="false">http://gettingandsetting.com/?p=4#comment-105</guid>
		<description>I use them but most of the time I don&#039;t need to see them, so I would like to be able to avoid stepping into every single setter/getter when debugging since it adds lots of extra steps. So, a feature I would like is an enable/disable of &quot;step into&quot; during debugging.</description>
		<content:encoded><![CDATA[<p>I use them but most of the time I don&#8217;t need to see them, so I would like to be able to avoid stepping into every single setter/getter when debugging since it adds lots of extra steps. So, a feature I would like is an enable/disable of &#8220;step into&#8221; during debugging.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex C</title>
		<link>http://gettingandsetting.com/2008/05/09/accesor-methods-actionscript-and-you/comment-page-1/#comment-104</link>
		<dc:creator>Alex C</dc:creator>
		<pubDate>Thu, 11 Dec 2008 19:48:37 +0000</pubDate>
		<guid isPermaLink="false">http://gettingandsetting.com/?p=4#comment-104</guid>
		<description>I create accessors (getter/setters) when I create the private members (properties) of the class. It would be a great time-saver to be able to automate the process based on the name of the private variables in the class.

Also, one feature I&#039;m dying to see is a way to collapse sections of code; my current MXML file is about 900 lines long. I can collapse the controls using the little (-) symbol; no such feature exists for functions. It would also be nice if we could define our own blocks that could then be collapsed/expanded.</description>
		<content:encoded><![CDATA[<p>I create accessors (getter/setters) when I create the private members (properties) of the class. It would be a great time-saver to be able to automate the process based on the name of the private variables in the class.</p>
<p>Also, one feature I&#8217;m dying to see is a way to collapse sections of code; my current MXML file is about 900 lines long. I can collapse the controls using the little (-) symbol; no such feature exists for functions. It would also be nice if we could define our own blocks that could then be collapsed/expanded.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christophe Bismuth</title>
		<link>http://gettingandsetting.com/2008/05/09/accesor-methods-actionscript-and-you/comment-page-1/#comment-103</link>
		<dc:creator>Christophe Bismuth</dc:creator>
		<pubDate>Wed, 12 Nov 2008 09:17:32 +0000</pubDate>
		<guid isPermaLink="false">http://gettingandsetting.com/?p=4#comment-103</guid>
		<description>Hi Scott,

* Later as I need them,
* I want to batch-create accessors for more than one variable at once,
* I don&#039;t prefix them.

Thank you for staying tuned,
Chris</description>
		<content:encoded><![CDATA[<p>Hi Scott,</p>
<p>* Later as I need them,<br />
* I want to batch-create accessors for more than one variable at once,<br />
* I don&#8217;t prefix them.</p>
<p>Thank you for staying tuned,<br />
Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Epoch of Entropy</title>
		<link>http://gettingandsetting.com/2008/05/09/accesor-methods-actionscript-and-you/comment-page-1/#comment-102</link>
		<dc:creator>Epoch of Entropy</dc:creator>
		<pubDate>Fri, 07 Nov 2008 23:02:31 +0000</pubDate>
		<guid isPermaLink="false">http://gettingandsetting.com/?p=4#comment-102</guid>
		<description>In almost all cases I use private variables with getters and setters, even if there is no logic behind assignment. Private vars are named with a &quot;_&quot; as a style preference, usually sharing the same name as the public getters/setters.

For about half of protected variables I do not generate getters and setters, but they all also almost always named with a &quot;_&quot; as a matter of style.

This is a carry over from Java, where I principally learned OOP practices.

But, in many cases a complex datatype will have many public attributes with error checking logic. Creating a dozen getters/setters is an arduous task that almost every developer has had to do at some point. A task that can be easily handled by a RegExp of what&#039;s selected, and a loop.

The Java perspective has MANY excellent tools (in the Source drop down) that save developers hours and hours of work over the course of a large project. In my opinion making the Flex IDE emulate the Java perspective&#039;s &quot;Generate Getters and Setters&quot; would make the most sense from both a consistency and functionality viewpoint.

It also wouldn&#039;t hurt to pull out some other features from the Java perspective&#039;s Source drop down, such as:

Override/Implement Methods...
Sort Members...
Format Element
Format


https://bugs.adobe.com/jira/browse/FB-11636</description>
		<content:encoded><![CDATA[<p>In almost all cases I use private variables with getters and setters, even if there is no logic behind assignment. Private vars are named with a &#8220;_&#8221; as a style preference, usually sharing the same name as the public getters/setters.</p>
<p>For about half of protected variables I do not generate getters and setters, but they all also almost always named with a &#8220;_&#8221; as a matter of style.</p>
<p>This is a carry over from Java, where I principally learned OOP practices.</p>
<p>But, in many cases a complex datatype will have many public attributes with error checking logic. Creating a dozen getters/setters is an arduous task that almost every developer has had to do at some point. A task that can be easily handled by a RegExp of what&#8217;s selected, and a loop.</p>
<p>The Java perspective has MANY excellent tools (in the Source drop down) that save developers hours and hours of work over the course of a large project. In my opinion making the Flex IDE emulate the Java perspective&#8217;s &#8220;Generate Getters and Setters&#8221; would make the most sense from both a consistency and functionality viewpoint.</p>
<p>It also wouldn&#8217;t hurt to pull out some other features from the Java perspective&#8217;s Source drop down, such as:</p>
<p>Override/Implement Methods&#8230;<br />
Sort Members&#8230;<br />
Format Element<br />
Format</p>
<p><a href="https://bugs.adobe.com/jira/browse/FB-11636" rel="nofollow">https://bugs.adobe.com/jira/browse/FB-11636</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lance Hilliard</title>
		<link>http://gettingandsetting.com/2008/05/09/accesor-methods-actionscript-and-you/comment-page-1/#comment-101</link>
		<dc:creator>Lance Hilliard</dc:creator>
		<pubDate>Tue, 09 Sep 2008 04:09:10 +0000</pubDate>
		<guid isPermaLink="false">http://gettingandsetting.com/?p=4#comment-101</guid>
		<description>Visual Studio 2008 creates my event handler methods for me &quot;magically&quot;, and I expect the same from FB.  I don&#039;t see the functionality in v3 (am I missing it)?  Is it slated for v4?</description>
		<content:encoded><![CDATA[<p>Visual Studio 2008 creates my event handler methods for me &#8220;magically&#8221;, and I expect the same from FB.  I don&#8217;t see the functionality in v3 (am I missing it)?  Is it slated for v4?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Holmes</title>
		<link>http://gettingandsetting.com/2008/05/09/accesor-methods-actionscript-and-you/comment-page-1/#comment-22</link>
		<dc:creator>Brian Holmes</dc:creator>
		<pubDate>Wed, 14 May 2008 04:57:08 +0000</pubDate>
		<guid isPermaLink="false">http://gettingandsetting.com/?p=4#comment-22</guid>
		<description>I create them later. I really like the c# syntax for getters and setters. It&#039;s much more smooth than java, with less code for when you do have to use them.</description>
		<content:encoded><![CDATA[<p>I create them later. I really like the c# syntax for getters and setters. It&#8217;s much more smooth than java, with less code for when you do have to use them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gSOLO</title>
		<link>http://gettingandsetting.com/2008/05/09/accesor-methods-actionscript-and-you/comment-page-1/#comment-21</link>
		<dc:creator>gSOLO</dc:creator>
		<pubDate>Mon, 12 May 2008 14:17:52 +0000</pubDate>
		<guid isPermaLink="false">http://gettingandsetting.com/?p=4#comment-21</guid>
		<description>* Do you typically create accessors when you create member variables, or later as you need them?

I create them when building the class.

    * Would you want to batch-create accessors for more than one variable at once, or do you usually only do it for one variable at a time?

I currently do it one var at a time, but it would be convenient to be able to to it in a batch.

    * How do you name your variables that don’t have accessors? Do you prefix them? (i.e. m_color, m_flavor)

Double underscore for private vars.

private var __foo : Foo;
public function get foo () : Foo {
	return __foo;
}
public function set foo (value : Foo) : void {
	__foo = value;
}

private var __bar : Bar;

protected var fooBar : FooBar;</description>
		<content:encoded><![CDATA[<p>* Do you typically create accessors when you create member variables, or later as you need them?</p>
<p>I create them when building the class.</p>
<p>    * Would you want to batch-create accessors for more than one variable at once, or do you usually only do it for one variable at a time?</p>
<p>I currently do it one var at a time, but it would be convenient to be able to to it in a batch.</p>
<p>    * How do you name your variables that don’t have accessors? Do you prefix them? (i.e. m_color, m_flavor)</p>
<p>Double underscore for private vars.</p>
<p>private var __foo : Foo;<br />
public function get foo () : Foo {<br />
	return __foo;<br />
}<br />
public function set foo (value : Foo) : void {<br />
	__foo = value;<br />
}</p>
<p>private var __bar : Bar;</p>
<p>protected var fooBar : FooBar;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
