The state of string interpolation...one year later

Atila Neves atila.neves at gmail.com
Tue Mar 19 10:11:27 UTC 2019


On Sunday, 17 March 2019 at 10:40:28 UTC, Nick Treleaven wrote:
> On Sunday, 17 March 2019 at 06:01:35 UTC, Jonathan Marler wrote:
>>     text("a is", a, ", b is ", b, " and the sum is: ", a + b)
>>
>> Ironically, his example had a mistake, but it was hard to
>> notice.
>
> Maybe he wrote that on the forum. In a text editor syntax 
> highlighting would make the mistake clearer, but it can still 
> happen. The interpolated syntax is definitely clearer.

Yep. At the time I pointed out I wouldn't have made the same 
mistake in Emacs.



More information about the Digitalmars-d mailing list