Release D 2.094.0

Meta jared771 at gmail.com
Thu Oct 1 21:09:55 UTC 2020


On Thursday, 1 October 2020 at 20:40:39 UTC, Seb wrote:
> On Thursday, 1 October 2020 at 18:29:14 UTC, Meta wrote:
>> I've read the discussion but skipped the presentation. All I 
>> see is Atila expressing distaste for the compiler choosing how 
>> to pass values, and no explicit sign-off from either Walter or 
>> Atila before it was merged.
>>
>> My objection is not to `in`'s new behaviour (although having 
>> something that functions similarly to auto ref but in subtly 
>> different ways is not good language design, IMO). My objection 
>> is that we have a major change to a language feature, that was 
>> merged without the apparent blessing of either of the two 
>> people who are supposed to be the gatekeepers for these 
>> decisions, and without a DIP (yes, it is behind -preview, but 
>> that implies that this will eventually make it into the 
>> language proper). That is what I am calling "ridiculous". If W 
>> or A did approve it and I just wasn't aware, then I apologize 
>> and retract my objection.
>
> You seem to have a wrong understanding of -preview. It doesn't 
> even pretend to be an officially approved feature. I think this 
> is what's been causing the confusion.
>
> Preview flags are what other compilers call "experimental". In 
> fact, -preview is intended to predate a DIP or formal approval 
> in other ways, because if you don't know the impact of a 
> feature or usefulness, it's very hard to make an informed 
> decision.
>
> This has the nice side effect that sometimes it becomes clear 
> during an implementation that the idea as is unfeasible.
>
>> implies that this will eventually make it into the language 
>> proper
>
> No, it doesn't.

Okay, fair enough. Should this still not have had approval from 
either Walter or Atila before being merged in? Or is that not the 
case for changes behind -preview?


More information about the Digitalmars-d-announce mailing list