Copy Constructor DIP and implementation

Nicholas Wilson iamthewilsonator at hotmail.com
Sun Sep 23 02:40:15 UTC 2018


On Sunday, 23 September 2018 at 01:08:50 UTC, Jonathan M Davis 
wrote:
> On Saturday, September 22, 2018 6:13:25 PM MDT Adam D. Ruppe 
> via Digitalmars-d-announce wrote:
>> [...]
>
> Yeah, the problem has to do with how much you have to mark up 
> your code. Whether you have @foo @bar @baz or foo bar baz is 
> pretty irrelevant. And keywords eat up identifiers, so they're 
> actually worse.
>
> In addition, most of the complaints about @implicit have to do 
> with the fact that it doesn't even add anything. It's annoying 
> that we have @nogc, @safe, pure, etc. but at least each of 
> those adds something. @implicit is just there because of the 
> fear of breaking a theoretical piece of code that's going to be 
> extremely rare if it exists at all and in most cases would 
> continue to work just fine even if it did exist.
>
> - Jonathan M Davis

It appears that @implicit has been removed from the 
implementation [1], but not yet from the DIP.

https://github.com/dlang/dmd/commit/cdd8100



More information about the Digitalmars-d-announce mailing list