Mid-term vision review

Dennis Ritchie via Digitalmars-d digitalmars-d at puremagic.com
Mon Apr 6 13:38:46 PDT 2015


On Monday, 6 April 2015 at 12:45:48 UTC, Martin Nowak wrote:
> On 04/06/2015 03:39 AM, Dennis Ritchie wrote:
>> 
>> Thanks. I hope that in the near future will be a powerful D 
>> macrosystem.
>
> Don't expect too much enthusiasm about adding macros.

Perhaps you're right.

> - D already has very good metaprogramming capabilities and most 
> stuff
> macros can do, can already be achieved using string mixins
> - Macros in Scala turned out very complex (not sure about 
> std.meta).
> - DSLs can fracture the community
> (http://winestockwebdesign.com/Essays/Lisp_Curse.html)

In my opinion, should not be afraid to include language in 
anything complicated. I think that the complex and powerful 
things can help D to become even better.

> Might be a approach to write a good, fast, and CTFEable parsing 
> library for.

It would be nice.


More information about the Digitalmars-d mailing list