<br><br><div class="gmail_quote">On Mon, Jun 27, 2011 at 2:09 PM, Don <span dir="ltr"><<a href="mailto:nospam@nospam.com">nospam@nospam.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">kenji hara wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Issue in bugzilla:<br>
  <a href="http://d.puremagic.com/issues/show_bug.cgi?id=6207" target="_blank">http://d.puremagic.com/issues/<u></u>show_bug.cgi?id=6207</a><br>
Test implementation:<br>
  <a href="https://github.com/9rnsr/dmd/commit/52e4491cf6bf9ccf6dccc1fa60581fd6797d39b3" target="_blank">https://github.com/9rnsr/dmd/<u></u>commit/<u></u>52e4491cf6bf9ccf6dccc1fa60581f<u></u>d6797d39b3</a><br>
<br>
String mixin feature in D is very useful, but its syntax is bit ugly.<br>
My proposal will make it more softly, and introduces more generative<br>
programming.<br>
<br>
Any thoughts?<br>
<br>
Kenji<br>
</blockquote>
<br></div>
Yes, it's _less_ ugly, but I just don't think it gets rid of enough of the ugliness. You still get that horrid q{ } around the code. I also don't see any reason for the feature to be restricted to templates.<br>


The effect is a bit like sugar on syntax anchovies <g>.<br>
</blockquote></div><br><div>Any chance of this feature getting into D language?</div><div><br></div><div>I believe that this would be very useful for domain specific embedded languages.</div><div><br></div><div>Regards</div>

<div>- Puneet</div><div><br></div>