<div class="gmail_quote">On 9 April 2012 03:46, Andrej Mitrovic <span dir="ltr"><<a href="mailto:andrej.mitrovich@gmail.com">andrej.mitrovich@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 4/9/12, Manu <<a href="mailto:turkeyman@gmail.com">turkeyman@gmail.com</a>> wrote:<br>
> (...why can't you use 'ref' in regular declarations? I frequently find<br>
> myself wanting to use ref locally for this exact reason.)<br>
<br>
</div>I think the reason for this was because references are supposed to be<br>
hidden from the user.<br>
<br>
But if you look it from a safety angle you can escape a reference to a<br>
local variable (ends up being garbage after function exit), but you<br>
can't escape an alias declaration (I think so anywho).<br>
</blockquote></div><br><div>... O_o</div><div>I don't follow. Can you give an example that shows this insecurity?</div>