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...@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 >