Discussion Thread: DIP 1036--String Interpolation Tuple Literals--Community Review Round 2

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Thu Feb 4 20:46:15 UTC 2021

On Thursday, 4 February 2021 at 17:05:30 UTC, Paul Backus wrote:
> This makes using interpolation to generate D code significantly 
> more cumbersome, because '{' is a common character in D code, 
> and every occurrence of it would have to be escaped. It is much 
> easier if the sequence used to introduce an interpolated 
> expression is not a valid D token.

Good! String mixins are evil, just a small step away from 
Their use should be discouraged and limited to the cases where 
the language falls short.

More information about the Digitalmars-d mailing list