[OT] C# can do all the interpolated strings now

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Thu Dec 9 13:50:53 UTC 2021


On Thursday, 9 December 2021 at 13:24:14 UTC, Adam D Ruppe wrote:
> On Thursday, 9 December 2021 at 13:03:21 UTC, Ola Fosheim 
> Grøstad wrote:
>> But don't you think it would be better if you could write:
>
> No.

How is:

```sql(i"SELECT $(r[0]), $(r[3]), FROM $(t[3]) WHERE $(c[6])")```

An improvement over:

```sql("SELECT", r[0], r[3], "FROM", t[3], "WHERE", c[6])```

?

It obviously isn't!

This will end up being a marginal feature.







More information about the Digitalmars-d mailing list