<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jan 12, 2014 at 1:45 PM, Tobias Pape <span dir="ltr">&lt;<a href="mailto:Das.Linux@gmx.de" target="_blank">Das.Linux@gmx.de</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">Say you want to wrap every object in the system in a proxy.<br>
You would need to use #allObjectsDo:. but when we enumerate all<br>
object, the new ones too, we end up having proxies for proxies for<br>
proxies ad infinitum (endless non-loop…) and we can’t know it…<br></blockquote><div><br></div><div>Yeah, that&#39;s an example of creating objects faster than we can enumerate them. (Or, exactly as fast as we can enumerate them, I suppose). It wouldn&#39;t have worked pre-closures, either.</div>
<div><br></div><div>The consensus so far is that we like the safety of a sentinel object, as it lets us do whatever we want within the loop, and potentially not seeing all the objects in the image is an acceptable trade-off for that safety. Fair enough.</div>
<div><br></div><div>Colin</div><div> </div></div></div></div>