DIP 1026---Deprecate Context-Sensitive String Literals---Community Review Round 1

Dennis dkorpel at gmail.com
Tue Dec 3 15:09:19 UTC 2019


On Tuesday, 3 December 2019 at 15:05:14 UTC, Jonathan M Davis 
wrote:
> There are definitely people who use token strings in their code 
> when writing string mixins, because it makes it so that the 
> code in the strings actually gets syntax highlighting like 
> normal code does instead of being displayed as a string.

I don't propose deprecating token strings, only the identifier 
delimited ones, which get highlighted as strings.

```
string s = q{
this is fine
};

string t = q"EOS
this is not fine
EOS";
```


More information about the Digitalmars-d mailing list