<div class="gmail_quote">On 18 March 2012 03:48, Walter Bright <span dir="ltr"><<a href="mailto:newshound2@digitalmars.com">newshound2@digitalmars.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 3/17/2012 6:39 PM, Manu wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm sure C# already answers all these questions. It has precisely the same set<br>
of issues associated.<br>
</blockquote>
<br></div>
C# doesn't have RAII, immutable, nor the notion of threadlocal/shared types.<br>
</blockquote></div><br><div>C# has immutable. How does RAII cause a problem here?</div><div>The threadlocal/shared stuff shouldn't be a problem, since the attribute instances are contained by the class its self, it just has the same locality properties. Can you imagine a case where that would be problematic?</div>