On Thursday, 11 June 2015 at 13:35:25 UTC, QAston wrote:
For me simple templates + simple macros are clearer than complicated templates + ctfe + mixins.

My experience of explaining those concepts to other people indicates otherwise. D templates and mixins are dirty but also very simple concepts that pretty much any new programmers gets quickly and intuitively, learning how to do more complicated magic in a small steps. Macros are just never really simple as they operate within AST domain and programmers not familiar with language developer tend to be more confortable with thinking on the source code level. It is a more robust power tool for experienced developers but that does not feel like a good justification.

Reply via email to