I personally prefer python's triple quoted strings. Elegant, simple and enough for most stuff. That example only shows what D has.Huh? So are you *pro-* or *anti-* heredoc?
version(none)q{ FOO }; is likely to work for most stuff too.
The very fact that I invented that just for this thread is evidence that it's not a rampant issue.But ok, that works, unless the code contains `EOS"`.