Pattern matching in D?
mogu via Digitalmars-d
digitalmars-d at puremagic.com
Fri Oct 21 00:28:32 PDT 2016
On Friday, 21 October 2016 at 06:50:26 UTC, Dennis Ritchie wrote:
>
> The problem is that D is not macros, and the implementation of
> pattern matching without macros will not be very good. In turn,
> the implementation of macros in D - this is also not a good
> idea.
Agreed. D has not macro, this makes argly syntax while using
mixin instead. Event C/C++ has c-macro to fix the syntax issues.
More information about the Digitalmars-d
mailing list