yet another string interp dip, simple edition

Alexandru Ermicioi alexandru.ermicioi at gmail.com
Thu Jan 25 17:27:51 UTC 2024


On Thursday, 25 January 2024 at 07:47:53 UTC, Kagamin wrote:
> On Thursday, 18 January 2024 at 23:05:03 UTC, Alexandru 
> Ermicioi wrote:
>> You will, but first, you'd get your company software breached, 
>> so perhaps it is best to not allow such things in first place 
>> (language).
>
> You mean the current way
> ```
> query("select * from student where name='"~bobby~"'");
> ```
> is ugly enough that nobody will use it accidentally?

Perhaps someone will, which is sad. Still, not an argument to 
introduce yet another way at concatenating strings (suggested 
here), which imho is even easier than your example to use.


More information about the Digitalmars-d mailing list