On 2009-01-31 19:26:08 -0500, Andrei Alexandrescu <[email protected]> said:

The language can help here. q{stuff} is a "token string" which presumably contains code, whereas the other strings presumably don't. In my editor, q{code} comes off as highlighted.

So I think in the future it's a good bet for both programmers and editors to consider q{} quotes as containing code.

Hum, but since it's a string, shouldn't text editors highlight it as if it was a string? I was going to do that in D for Xcode at some point... perhaps I shouldn't.


--
Michel Fortin
[email protected]
http://michelf.com/

Reply via email to