Implicit Constructors

Steven Schveighoffer schveiguy at yahoo.com
Fri Oct 13 13:07:26 UTC 2017


On 10/13/17 9:04 AM, rikki cattermole wrote:
> Lets just kill it.
> 
> It's an ugly unexpected piece of syntax.

It may be used somewhere, and then what is the migration path for those 
people? I don't see that it's harming anything having it there, most of 
us didn't even know about it.

It's also not necessary to remove the feature in order to build a 
library that does similar things, and the syntax isn't needed elsewhere.

It is bizarre, though, that it works only for classes and builtins, and 
not for structs.

I have experienced with Swift the team killing "ugly" features, and it's 
painful.

-Steve


More information about the Digitalmars-d mailing list