<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000;text-align: left" dir="ltr">Hi all!<div class="mb_sig"></div><div><br></div><div>After typing "Project current" for the n-th time, I was wondering, whether "self currentProject" could be a nice little idiom for the Squeak environment. </div><div><br></div><div>We had several thoughts on this matter:</div><div><a href="http://forum.world.st/Object-gt-gt-currentProjectWorld-td5044161.html#a5045072"><span style="font-size: 10pt">http://forum.world.st/Object-gt-gt-currentProjectWorld-td5044161.html#a5045072</span></a><br></div><div><a href="http://forum.world.st/Changeset-Eliminating-global-state-from-Morphic-tp5121690p5123334.html"><span style="font-size: 10pt">http://forum.world.st/Changeset-Eliminating-global-state-from-Morphic-tp5121690p5123334.html</span></a><br></div><div><span style="font-size: 13.3333px"><br></span></div><div>1. Object >> #currentProject would be a *System extension in Object to not be dependent on Morphic.</div><div>2.  "Project current world" could be replaced with "self currentProject world" (generic) or "self currentWorld" (specific to Morphic).</div><div>3. "Project uiManager" could be replaced with "self currentProject uiManager".</div><div>4. "Project current addDeferredUIMessage:" could be replaced with "self currentProject addDeferredUIMessage:".</div><div><br></div><div>So, we wouldn't have so many class references to "Project" in the code. It kind of reminds me about some of Newspeak's design goals. :-)</div><div><br></div><div>What do you think?</div><div><br></div><div>Best,</div><div>Marcel</div></div>