About string and int spliced together.

aberba karabutaworld at gmail.com
Sat Jun 20 11:09:12 UTC 2020


On Thursday, 18 June 2020 at 09:13:53 UTC, Dennis wrote:
> On Thursday, 18 June 2020 at 09:00:42 UTC, zoujiaqing wrote:
>> Type should be automatically converted to string!
>

> You might be interested in Adam's string interpolation DIP 
> though:
> https://github.com/dlang/DIPs/pull/186

So has D gotten so complicated under the hood that its not 
possible to d:

string sentence = i"I and ${expression}";

Cut I'm seeing some weird syntax in there. Nothing like anything 
from JavaScript as referenced.


More information about the Digitalmars-d mailing list