<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 8, 2014 at 7:42 PM, Chris Muller <span dir="ltr">&lt;<a href="mailto:asqueaker@gmail.com" target="_blank">asqueaker@gmail.com</a>&gt;</span> wrote:<br>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">&gt; If you&#39;re starting your app from scratch, it&#39;s less of an issue. :-)<br>
<br>
</div>Wow, that is surprising.  I always thought of Environments as the tool<br>
to _save_ me from having to use the Rewrite tool.  I also didn&#39;t<br>
realize that the source codebase needs to be kept in-sync with the<br>
Environment declarations.  Wouldn&#39;t it be better to let code remain<br>
unaware of Environments?<br></blockquote><div><br></div><div>Indeed! Having code be unaware of Environments was one of the primary design goals. It should be the other way around: tailor the environment to the needs of the codebase. If you have an app that refers to the prefixed names already, just load it into an environment that doesn&#39;t strip them off. Or heck, keep loading it into the default environment, along with Magma and ignore environments completely.</div>
<div><br></div><div>The only reason to change your code is because you want to use different (prettier?) names. In that case, do it on your own terms, with whatever naming conventions or development tools you want. </div>
<div><br></div><div>The point of all this is to decouple the declarations of classes from their references, and as a result, remove the need for the community to coordinate the naming of classes. You, as the developer of Magma can use whatever names make sense in the context of developing Magma, and I, as the developer of MyApp, can use whatever names make sense in that context. Regardless what choices we make, it should be possible to set up an environment that lets MyApp use Magma without either of us having to change our code to make it work. </div>
<div><br></div><div>Does that make sense?</div><div><br></div><div>Colin</div></div></div></div>