Syntactical sugar for string templates and lambdas?
via Digitalmars-d
digitalmars-d at puremagic.com
Tue Aug 26 05:17:55 PDT 2014
On Tuesday, 26 August 2014 at 11:32:58 UTC, Marc Schütz wrote:
> Apart from the fact that I find this harder to read than simply
> spelling it out: Backticks are already used for wysiwyg
> strings. It's almost impossible to reuse them for anything else.
Pretend I use forward-ticks ´x+´y :-)
What is hard to read depends on what you are used to, but
declaring symbols to "not be evaluated here" by prefixing them
with a "tick" seems to carry the semantics better than using
string mixins and achieve a more concise syntax?
More information about the Digitalmars-d
mailing list