On Monday, 4 January 2016 at 18:28:15 UTC, Russel Winder wrote:
On Mon, 2016-01-04 at 01:45 -0800, Walter Bright via Digitalmars-d wrote:
On 1/3/2016 11:40 PM, Jacob Carlborg wrote:
> There's of course AST macros as well, which have many other > good
> use cases.
> Unfortunately you don't like those either :(

Neither Andrei nor I have changed our minds on that one.

Pity I like good AST transforms: Groovy, Scala, Lisp, Clojure, Rust… C++ template meta-programming isn't really my cup of tea.

Rusts macros show it can be done well.

I agree heavily with this, it feels like an arbitrary limitation.
D did wonders in making template metaprogramming usable compared to C++, but sometimes it feels like trying to pound nails in with a screwdriver.

I think just looking at the kind of stuff being done in languages that enable AST macros might change minds.

Reply via email to