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

Q. Schroll qs.il.paperinik at gmail.com
Sun Dec 12 19:44:17 UTC 2021


On Thursday, 9 December 2021 at 16:30:28 UTC, Ola Fosheim Grøstad 
wrote:
> I would not recommend weaker typing, as it would be trivial to 
> get stronger typing by simply supporting ```f"this $will become 
> a string"``` and ```i"this $will become a list"```.

That would have the problem that confusing `i""` and `f""` could 
lead to SQL injections and related problems. The improvement over 
using `i"".text` is almost nonexistent.


More information about the Digitalmars-d mailing list