On Friday, 6 September 2013 at 13:31:41 UTC, ilya-stromberg wrote:
On Friday, 6 September 2013 at 13:25:37 UTC, Flamaros wrote:
It's difficult to never forget the "explicit" keyword in c++, and this little mistake can make you loose a lot of time.

I prefer to only have explicit conversions with cast or constructors calls, that all make the code easier to understand.

Yes. I sugest keep current D bechavior by default, but add "implicit" keyword.
It allows to add implicit cast only if it SAFE.

You don't want a keyword for that. Something obscure and ugly is required.

Reply via email to