Replace core language HexStrings with library entity

H. S. Teoh via Digitalmars-d digitalmars-d at puremagic.com
Tue Mar 17 12:49:48 PDT 2015


On Tue, Mar 17, 2015 at 07:47:05PM +0000, deadalnix via Digitalmars-d wrote:
> On Tuesday, 17 March 2015 at 14:14:59 UTC, Daniel Murphy wrote:
> >"Nick Treleaven"  wrote in message news:me98hl$2erf$1 at digitalmars.com...
> >
> >>They add complexity to tools such as ctags (written in C, the
> >>fishman fork supports D but not D-specific strings).
> >
> >Yes, but only a very little bit.  How much code could you delete from
> >a D lexer if they were removed?
> 
> Not that much. But q{ string are a pain in the ass.

They are very useful for writing readable string mixins though. (Well,
string mixins themselves could also be construed to be a pain, so
*shrug*.)


T

-- 
Having a smoking section in a restaurant is like having a peeing section in a swimming pool. -- Edward Burr 


More information about the Digitalmars-d mailing list