<div dir="ltr"><div dir="ltr">On Sun, Jun 7, 2020 at 8:00 AM Walter Bright via Digitalmars-d <<a href="mailto:digitalmars-d@puremagic.com">digitalmars-d@puremagic.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 6/6/2020 2:14 PM, Steven Schveighoffer wrote:<br>
> To continue the "show" analogy, consider a theater show where all the show light <br>
> bulbs burn out simultaneously. You could say "Well, they can do it by <br>
> flashlight," and yes, it could happen. People wouldn't be able to see it, but <br>
> the show would *happen*. So one could argue that not having significant lighting <br>
> is not a showstopper in the way you are saying "just use void initialization".<br>
<br>
On the other hand, how many shared local variables does one have in a program?<br>
<br>
Every shared variable is a risk of threading problems, and one should try to <br>
minimize their use.<br></blockquote><div><br></div><div>Not how our ecosystem works... practically everything is shared. The whole gig is about declaring access control, and mechanisms which schedule appropriately synchronised access to shared things. Without type-safety, mistakes are way too easy to make.</div><div><br></div><div>Shared is a really big deal for D that it's never truly capitalised on.</div></div></div>