DIP 1016--ref T accepts r-values--Community Review Round 1

Paolo Invernizzi paolo.invernizzi at gmail.com
Sat Jul 21 08:55:59 UTC 2018


On Saturday, 21 July 2018 at 05:40:24 UTC, Nicholas Wilson wrote:

> It is not just the avoiding copying, if it were I'm not sure 
> I'd support it. For me the greatest benefit is the increase in 
> readability due to not having useless temporaries everywhere in 
> ref heavy code (that may not be under API user's control).

Explicit is better than implicit.
(The Zen of Python)

Frankly speaking, my feeling is that D is becoming a horrible 
mess for the programmer...

And, BTW, I'm totally with Jonathan also on @implicit for copy 
ctor... I really really don't like it, another nail in the coffin 
of a beauty, symmetry, and intuitive syntax.

I'm starting to think that only a D3, with a lot of thing 
reorganised without the obsession of breaking changes can safe 
that beautiful language: Python was _almost_ killed in the 2-3 
transaction, but kudos to Guido and the core time, it resurrected 
more strong than ever.

/Paolo






More information about the Digitalmars-d mailing list