Just another example of missing string interpolation

Daniel N no at public.email
Thu Oct 19 16:08:40 UTC 2023


On Thursday, 19 October 2023 at 11:10:47 UTC, Richard (Rikki) 
Andrew Cattermole wrote:
> Don't worry about it, it has already been rejected and this was 
> one of the reasons why.
>
> https://github.com/dlang/DIPs/blob/master/DIPs/rejected/DIP1027.md#final-review

I think the simplest solution is to give up on one-size-fits-all.

slow"this allocates a string"
fast"this creates a fast tuple for meta-programming"

Even though the user-facing part is quite different, it would be 
possible to share much code between the two implementations 
inside the compiler.

obviously slow and fast are placeholder names.



More information about the Digitalmars-d mailing list