DIP 1027---String Interpolation---Community Review Round 1
Walter Bright
newshound2 at digitalmars.com
Sat Dec 14 08:58:21 UTC 2019
On 12/13/2019 1:17 AM, Robert M. Münch wrote:
> Yes, much better to reduce syntax-cluttering. Why not lean towards existing
> syntax from templates:
>
> i(?)"INSERT INTO mytable VALUES ($name, $serial, $cost)"
>
> or even make it more configurable to catch more cases:
>
> i($,?)"INSERT INTO mytable VALUES ($name, $serial, $cost)"
> i(#,?)"INSERT INTO mytable VALUES (#name, #serial, #cost)"
>
> i(#,?,$,??)"INSERT INTO mytable VALUES (#name, $serial, #cost)"
Too complex for too little gain.
More information about the Digitalmars-d
mailing list