[Issue 2658] Remove EscapeString literals.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Feb 16 17:21:39 PST 2009


http://d.puremagic.com/issues/show_bug.cgi?id=2658





------- Comment #7 from wbaxter at gmail.com  2009-02-16 19:21 -------
(In reply to comment #6)
> I use them often when for literals of length 1. E.g.
> 
> return stringVar ~ \n;

That's no where near worth the price of giving up a whole symbol in my opinion.

But I think such a change should probably be bundled with an agreement on what
to actually do with the freed up character.  If the syntax is removed and D
never does anything with it, then that's a waste.  \n is not useless, it's just
an underperforming use of \.  What to do with it should be decided upon before
giving it the axe.  (lambdas were suggested somewhere).


-- 



More information about the Digitalmars-d-bugs mailing list