Preventing another 1028

Johannes Loher johannes.loher at fg4f.de
Thu May 28 11:13:07 UTC 2020


Am 28.05.20 um 12:49 schrieb Les De Ridder:
> On Thursday, 28 May 2020 at 07:52:17 UTC, Daniel Kozak wrote:
>> On Thu, May 28, 2020 at 2:10 AM Bruce Carneal via Digitalmars-d
>> <digitalmars-d at puremagic.com> wrote
>>>
>>> DIP 1028 is unsound.
>>
>> No it is not
>>
>>> DIP 1028 is deeply unpopular.
>>
>> Show me the numbers. I do not see any proof
> 
> Not exactly proof, but:
> https://www.strawpoll.me/20184671/r
> 
> (The "@safe" option is what's proposed in DIP 1028.)

I'm really missing a third option in that poll: The default for all
declarations should be @safe, but extern(not-D) @safe declarations
should be a compile error, regardless of if @safe is explicit or
implicit. That forces an explicit decision between @system and @trusted
for every extern(non-D) declaration.


More information about the Digitalmars-d mailing list