Why do you continue to use D?

Stefan Koch uplink.coder at googlemail.com
Sat Jun 6 09:17:25 UTC 2020


On Saturday, 6 June 2020 at 07:00:57 UTC, Walter Bright wrote:
> On 6/5/2020 10:16 PM, Manu wrote:
>> Initialisation and `ref` emit errors?
>> They're absolutely show stoppers. Values must be initialised, 
>> and code has `ref` in it all the time.
>> You can't write code without those things.
>
> You can declare them with =void; and set them with the atomics. 
> That's inconvenient, but NOT a showstopper.
>
> You can use pointers instead of ref, inconvenient, not a 
> showstopper.
>

The whole point of a programming language feature is to be more 
convenient.
If a feature is any more inconvenient than it needs to be people 
will be a averse to using it.
(For some reason the boost people don't fall into that ...)
For shared to be convenient the shared checks have to be disabled 
based on context.
For example during initialization or when taking a ref.


More information about the Digitalmars-d mailing list