DIP 1027---String Interpolation---Community Review Round 1

Aliak something at something.com
Sun Dec 15 10:17:34 UTC 2019


On Sunday, 15 December 2019 at 04:20:59 UTC, Walter Bright wrote:
>
> With the proposal, I can explain it in one slide, which is 
> worth a great deal.


To use it people will need to understand how to use d tuples as 
well. This seems like optimizing for betterC? Why not optimize 
for the D case? Do you know how many users even use betterC?

People will write writeln(i”$var bananas”) and see it not work, 
and not understand why. The most basic case doesn’t work either 
with this proposal (assigning a what-you-intuitively-think is a 
string to a string).


More information about the Digitalmars-d mailing list