Builtin regex (Was: How to complex switch?)

bearophile bearophileHUGS at lycos.com
Wed May 18 10:03:50 PDT 2011


Timon Gehr:

> Library code should make use of the language to implement its semantics.
> Not the other way round.

Why?


> Another reason I dislike it: it looks different to other "tuple literals"
> that are already built-in:
> 
> foo (note, how, this, is, a, tuple, "!");

Looking different from the built-in ones was the point of it, to avoid clashes.


> Still, I think (|1,2,3|) is not optimal.

Please, invent better things :-)

Bye,
bearophile


More information about the Digitalmars-d mailing list