On Sunday, 16 April 2017 at 00:25:19 UTC, Stanislav Blinov wrote:
On Saturday, 15 April 2017 at 23:58:18 UTC, Adam D. Ruppe wrote:
On Saturday, 15 April 2017 at 23:11:42 UTC, Stanislav Blinov wrote:
How about... it removes an import or two?

It doesn't actually remove the dependency, it is just syntax sugar over it (there is precedent for this in the language, the pow operator calls a Phobos function, but it means you don't actually gain decoupling of modules).

As presented, it doesn't. But it can be implemented in a way that it does. The compiler is capable of conversions without ever needing std.conv, and if custom .toString() is required, it will already be available anyway.

I guess the phobos dependency could be removed with some extra work which I'll happily do. But the main worry I hear from people is the added
language complexity which isn't going away.






Reply via email to