On Wednesday, 7 November 2018 at 10:16:43 UTC, Dukc wrote:
On Tuesday, 6 November 2018 at 16:20:00 UTC, Atila Neves wrote:
https://www.reddit.com/r/programming/comments/9uoak1/implementing_rusts_stdsyncmutex_in_d/

Good post. Since you have battle-tested DIP1000, I'm interested what you think about it. You mentioned that it's currently hard to understand, but what you think about the concept as whole? How useful it seems, and is it worth it?

Definitely worth it.

I think editing the DIP1000 document to make it reflect reality would be a good start. I kept using `scope` where I should have used `return` and that's really what confused me.

I'm still unclear on the non-transitivity of scope and exactly what the consequences of this rule:

3. A scope variable cannot be initialized with the address of a scope variable. (If it did it would lose the scope attribute of the latter's contents.)

Reply via email to