<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.3" -->
<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">
	<channel>
		<title>Starling Forum &#187; Topic: Private needs to be changed to protected</title>
		<link>http://forum.starling-framework.org/topic/going-to-request-pull-on-changes-also-private-needs-to-be-changed-to-protected</link>
		<description>The Starling Framework Community</description>
		<language>en-US</language>
		<pubDate>Sat, 18 May 2013 16:27:32 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.3</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forum.starling-framework.org/search.php</link>
		</textInput>
		<atom:link href="http://forum.starling-framework.org/rss/topic/going-to-request-pull-on-changes-also-private-needs-to-be-changed-to-protected" rel="self" type="application/rss+xml" />

		<item>
			<title>esDot on "Private needs to be changed to protected"</title>
			<link>http://forum.starling-framework.org/topic/going-to-request-pull-on-changes-also-private-needs-to-be-changed-to-protected#post-29806</link>
			<pubDate>Fri, 12 Apr 2013 16:02:38 +0000</pubDate>
			<dc:creator>esDot</dc:creator>
			<guid isPermaLink="false">29806@http://forum.starling-framework.org/</guid>
			<description>&#60;p&#62;+1 Private just makes extending the framework a complete chore, when otherwise it would be extremely simple. &#60;/p&#62;
&#60;p&#62;If updates break our modifications so be it, it's our job to maintain our sub-classes. Typically at some stage in development you lock down your Starling version anyways and stop pulling updates.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>divillysausages on "Private needs to be changed to protected"</title>
			<link>http://forum.starling-framework.org/topic/going-to-request-pull-on-changes-also-private-needs-to-be-changed-to-protected#post-29789</link>
			<pubDate>Fri, 12 Apr 2013 14:27:52 +0000</pubDate>
			<dc:creator>divillysausages</dc:creator>
			<guid isPermaLink="false">29789@http://forum.starling-framework.org/</guid>
			<description>&#60;p&#62;+1 for this request. I can understand why you'd do it, but from our perspective:&#60;/p&#62;
&#60;p&#62;1) We can either always use the master, and code around it, which can be pretty hard, or&#60;br /&#62;
2) Use our own branch, then every time the master is updated (which is pretty often), merge the changes, which can be a pain.&#60;/p&#62;
&#60;p&#62;Normally, you extend classes to add additional functionality, or to help integrating into a current framework. Having everything protected makes this pretty hard, and sometimes because of the architecture of Starling, we need to resort to horrible hacks unless we want to support our own branch
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Daniel on "Private needs to be changed to protected"</title>
			<link>http://forum.starling-framework.org/topic/going-to-request-pull-on-changes-also-private-needs-to-be-changed-to-protected#post-11761</link>
			<pubDate>Wed, 12 Sep 2012 11:38:17 +0000</pubDate>
			<dc:creator>Daniel</dc:creator>
			<guid isPermaLink="false">11761@http://forum.starling-framework.org/</guid>
			<description>&#60;p&#62;Yes, Marcel, when I change the API, you have to change your extensions -- that is exactly the point! When I made all those properties &#34;protected&#34;, the API would be much bigger (because those were part of the API then), which means changes would happen much more often, still!&#60;/p&#62;
&#60;p&#62;That said, I'm not totally against making something protected -- there are cases where it does make a lot of sense! I can make changes on a per-issue basis, of course, when I think it would be useful.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dlots on "Private needs to be changed to protected"</title>
			<link>http://forum.starling-framework.org/topic/going-to-request-pull-on-changes-also-private-needs-to-be-changed-to-protected#post-11719</link>
			<pubDate>Tue, 11 Sep 2012 17:55:52 +0000</pubDate>
			<dc:creator>dlots</dc:creator>
			<guid isPermaLink="false">11719@http://forum.starling-framework.org/</guid>
			<description>&#60;p&#62;+1 as stated in the OP
&#60;/p&#62;</description>
		</item>
		<item>
			<title>MarcelKlammer on "Private needs to be changed to protected"</title>
			<link>http://forum.starling-framework.org/topic/going-to-request-pull-on-changes-also-private-needs-to-be-changed-to-protected#post-11106</link>
			<pubDate>Thu, 30 Aug 2012 16:02:24 +0000</pubDate>
			<dc:creator>MarcelKlammer</dc:creator>
			<guid isPermaLink="false">11106@http://forum.starling-framework.org/</guid>
			<description>&#60;p&#62;I've to say that I disagree. Whenever you change the API, we have to change our extensions, too. We have to take your Starling code, review it and change our code accordingly.&#60;/p&#62;
&#60;p&#62;So the only thing, that happens here: We have to work around the private accessors, instead of easily extend the frameworks classes.&#60;br /&#62;
Please rethink about it, it would really help other developers extend the frameworks classes.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dlots on "Private needs to be changed to protected"</title>
			<link>http://forum.starling-framework.org/topic/going-to-request-pull-on-changes-also-private-needs-to-be-changed-to-protected#post-6964</link>
			<pubDate>Tue, 29 May 2012 00:15:46 +0000</pubDate>
			<dc:creator>dlots</dc:creator>
			<guid isPermaLink="false">6964@http://forum.starling-framework.org/</guid>
			<description>&#60;p&#62;k, sounds good.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>MacShrike on "Private needs to be changed to protected"</title>
			<link>http://forum.starling-framework.org/topic/going-to-request-pull-on-changes-also-private-needs-to-be-changed-to-protected#post-6961</link>
			<pubDate>Mon, 28 May 2012 23:40:23 +0000</pubDate>
			<dc:creator>MacShrike</dc:creator>
			<guid isPermaLink="false">6961@http://forum.starling-framework.org/</guid>
			<description>&#60;p&#62;Omg.  injection/service location binding?&#60;br /&#62;
I'm really gonna ask for a book on flash programming for my birthday.&#60;br /&#62;
  &#38;lt;img src=&#38;quot;http://forum.starling-framework.org/my-plugins/bb-smilies/default/icon_biggrin.gif&#38;quot; title=&#38;quot;:D&#38;quot; class=&#38;quot;bb_smilies&#38;quot; /&#38;gt; 
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Daniel on "Private needs to be changed to protected"</title>
			<link>http://forum.starling-framework.org/topic/going-to-request-pull-on-changes-also-private-needs-to-be-changed-to-protected#post-6955</link>
			<pubDate>Mon, 28 May 2012 23:10:57 +0000</pubDate>
			<dc:creator>Daniel</dc:creator>
			<guid isPermaLink="false">6955@http://forum.starling-framework.org/</guid>
			<description>&#60;p&#62;I totally understand what you mean, but I did this on purpose. As soon as I make all of those objects &#34;protected&#34;, just about everybody will use and access them. This makes it extremely difficult for me to change any code later, because so much existing code will break if I do.&#60;/p&#62;
&#60;p&#62;For that reason, I decided to keep this stuff private. Advanced developers like you can use Git branches to change it, but will think twice before doing so, because it's an extra effort. And that's good, because the less you use these internal implementation details, the less code will break when I change them.&#60;/p&#62;
&#60;p&#62;When you look at the original Flash API, you won't find many protected members, too. For exactly the same reason! The difference with OS software is that you can use them nevertheless.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dlots on "Private needs to be changed to protected"</title>
			<link>http://forum.starling-framework.org/topic/going-to-request-pull-on-changes-also-private-needs-to-be-changed-to-protected#post-6884</link>
			<pubDate>Sun, 27 May 2012 21:57:33 +0000</pubDate>
			<dc:creator>dlots</dc:creator>
			<guid isPermaLink="false">6884@http://forum.starling-framework.org/</guid>
			<description>&#60;p&#62;Why are all the internal members all private? This makes it impossible to chnage functionality without being forced to stay up to date with master which is a waste of time for testing changes. &#60;/p&#62;
&#60;p&#62;I would like to push a change of unrelated changes(scrollRect, static variable unique names to work with haxe) but would also like to change all privates to protected. Would you accept a change of private to protected? There is absolutely no reason to indiscriminately use  private in an open source project.&#60;/p&#62;
&#60;p&#62;Having private members destroys any possibility for fast testing with dependency injection/service location binding. You're forced to do it with git branches instead because you're forced to changing core files. It definitely needs to be changed.&#60;/p&#62;
&#60;p&#62;Perhaps you prefer (protected) accessors. Accessors are slower, and probably shouldn't be used in a core library in performance critical (main loop) parts and having accessible protected members adds an additional level of flexibility when needed. A possibly mutated value of public accessor is not what is always needed in a member access.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
