Are we forgetting the fact that using delimited strings allows us to
have syntax highlighting in editors?

E.g.:

void stringParser(string str)()
{
    mixin(str);
}

void main()
{
    stringParser!(q{
        int x = 1;
        int y = 2;

        writefln("%s %s", x, y);
    });
}

This is a huge benefit over having everything highlighted in one solid
color as a string.

Reply via email to