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?
            • Re: ... Steven Schveighoffer via Digitalmars-d-announce
              • ... Meta via Digitalmars-d-announce
              • ... Steven Schveighoffer via Digitalmars-d-announce
              • ... Petar via Digitalmars-d-announce
              • ... Mathias LANG via Digitalmars-d-announce
              • ... Meta via Digitalmars-d-announce
              • ... kinke via Digitalmars-d-announce
              • ... Meta via Digitalmars-d-announce
              • ... Andrei Alexandrescu via Digitalmars-d-announce
              • ... Seb via Digitalmars-d-announce
              • ... Meta via Digitalmars-d-announce
              • ... Seb via Digitalmars-d-announce
              • ... Meta via Digitalmars-d-announce
          • Re: Relea... jmh530 via Digitalmars-d-announce
            • Re: ... jmh530 via Digitalmars-d-announce
          • Re: Relea... Imperatorn via Digitalmars-d-announce
  • Re: Release D 2.094.0 Martin Nowak via Digitalmars-d-announce
  • Re: Release D 2.094.0 apz28 via Digitalmars-d-announce
  • Re: Release D 2.094.0 Andrej Mitrovic via Digitalmars-d-announce

Reply via email to