Discussion Thread: DIP 1040--Copying, Moving, and Forwarding--Community Review Round 1
bachmeier
no at spam.net
Tue Mar 16 15:18:49 UTC 2021
On Monday, 15 March 2021 at 17:18:19 UTC, H. S. Teoh wrote:
> Although there are definitely cases for which it's actually
> useful, the problems it brings along make it of questionable
> value as a general language feature. I'd also be in favor of
> getting rid of it, at least from classes, if not completely.
> (The latter is probably impossible; quite a lot of my own code
> relies on it, and I imagine I'm not the only one using it among
> the users of D.)
A feature that can't be used wrong isn't much of a feature. alias
this is easy to use correctly and provides immense value. The
removal of useful features is not a good solution to bad program
design.
More information about the Digitalmars-d
mailing list