php strings demo
Adam D. Ruppe
destructionator at gmail.com
Sat Nov 20 14:47:24 PST 2010
Kagamin Wrote:
> Wrote some unittests today and thought, this feature is useful when one wants
easy sql statements (in, e.g. unittests).
Meh, I find the placeholders to be much better (safer too):
db.query("select id from objects where type = ?", typeName);
I generally feel the same way about all the interpolated
strings. Plain old format("%s", var); works for me.
More information about the Digitalmars-d
mailing list