<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 22, 2015 at 9:46 AM, Tobias Pape <span dir="ltr"><<a href="mailto:Das.Linux@gmx.de" target="_blank">Das.Linux@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><br>
On 22.01.2015, at 18:32, Nicolas Cellier <<a href="mailto:nicolas.cellier.aka.nice@gmail.com">nicolas.cellier.aka.nice@gmail.com</a>> wrote:<br>
<br>
><br>
><br>
> 2015-01-22 9:30 GMT+01:00 Frank Shearar <<a href="mailto:frank.shearar@gmail.com">frank.shearar@gmail.com</a>>:<br>
> On 22 January 2015 at 08:25, Tobias Pape <<a href="mailto:Das.Linux@gmx.de">Das.Linux@gmx.de</a>> wrote:<br>
> ><br>
> > On 22.01.2015, at 09:22, Frank Shearar <<a href="mailto:frank.shearar@gmail.com">frank.shearar@gmail.com</a>> wrote:<br>
> ><br>
> >> On 21 January 2015 at 23:48, <<a href="mailto:commits@source.squeak.org">commits@source.squeak.org</a>> wrote:<br>
> >>> Tobias Pape uploaded a new version of Environments to project The Trunk:<br>
> >>> <a href="http://source.squeak.org/trunk/Environments-topa.56.mcz" target="_blank">http://source.squeak.org/trunk/Environments-topa.56.mcz</a><br>
> >>><br>
> >>> ==================== Summary ====================<br>
> >>><br>
> >>> Name: Environments-topa.56<br>
> >>> Author: topa<br>
> >>> Time: 22 January 2015, 12:48:30.677 am<br>
> >>> UUID: e5cad590-2869-4f02-84ac-482952779d06<br>
> >>> Ancestors: Environments-topa.55<br>
> >>><br>
> >>> Provide more Dictionary protocol for exisiting users of Smalltalk globals.<br>
> >><br>
> >> If it addresses, in an expedient way, existing problems, then fine.<br>
> >> But the Environments work was explicitly trying to move _away_ from<br>
> >> the Dictionary protocols. Hence why the existing Dictionary-like<br>
> >> methods are in the "emulating" category.<br>
> ><br>
> > Refactoring-Core is using this API.<br>
><br>
> Obviously making the rest of the world move to the Environments API is<br>
> the _right_ thing to do, if it's manipulating environmental stuff, but<br>
> in the meantime, +1 to this addition :)<br>
><br>
> frank<br>
><br>
><br>
> We can use the #deprecated: in the meantime so as to not forget<br>
> - that we should change senders<br>
> - that we should not use this API in new code<br>
<br>
</div></div>I'm unsure.<br>
I _really_ like the idea of treating a namespace as a dictionary.<br></blockquote><div><br></div><div>To be pedantic, +0.5. I like being able to use the read-only part of the Dictionary protocol on Environments. It is the destructive update-in-place part at:put: et al that shouldn't be supported. Modification is something that Environment needs to control carefgully to maintain system integrity.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
But this is just gut feeling.<br>
<br>
Best<br>
<span class="HOEnZb"><font color="#888888"> -Tobias<br></font></span></blockquote></div><div><br></div>-- <br><div class="gmail_signature">best,<div>Eliot</div></div>
</div></div>