Mixin template evaluated to string can convert to string mixin expression implicitly

Cristi Cobzarenco cristi.cobzarenco at gmail.com
Fri Jun 24 09:06:11 PDT 2011


I actually like the fact that mixins are explicit - i.e ugly. When you see
the word mixin, you know to expect strange things, I would say the same
arguments that apply to C macros apply in this case as well.

---
Cristi Cobzarenco
BSc in Artificial Intelligence and Computer Science
University of Edinburgh
Profile: http://www.google.com/profiles/cristi.cobzarenco



On 24 June 2011 13:10, kenji hara <k.hara.pg at gmail.com> wrote:

> Issue in bugzilla:
>  http://d.puremagic.com/issues/show_bug.cgi?id=6207
> Test implementation:
>
> https://github.com/9rnsr/dmd/commit/52e4491cf6bf9ccf6dccc1fa60581fd6797d39b3
>
> String mixin feature in D is very useful, but its syntax is bit ugly.
> My proposal will make it more softly, and introduces more generative
> programming.
>
> Any thoughts?
>
> Kenji
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20110624/fc666e75/attachment.html>


More information about the Digitalmars-d mailing list