Deprecating this(this)

Kagamin spam at here.lot
Mon Apr 2 14:09:47 UTC 2018


On Sunday, 1 April 2018 at 14:31:24 UTC, Andrei Alexandrescu 
wrote:
> There's a mix of fundamental flaws and bugs. I'll get to the 
> flaws in a second. About the bugs: people have altered their 
> code in various ways to work with the bizarre semantics of 
> this(this). Now, if we fix various bugs in this(this) by 
> virtually redefining it, then we'll break a lot of code in a 
> lot of ways. To wit, we fixed a small issue and it already 
> created problems: https://github.com/dlang/dmd/pull/8032. That 
> didn't contribute to the decision but is quite illustrative.

Since poorly thought decisions keep being made for the language 
it's doubtful that "no breakage" policy has real backing.


More information about the Digitalmars-d mailing list