Haha!<br><div>But many people consider the interface system in Go as duck-typing,</div><div>so imo duck! is a very suitable name.<br><div><br><div class="gmail_quote">On Sat, Oct 16, 2010 at 2:25 PM, Adam D. Ruppe <span dir="ltr">&lt;<a href="mailto:destructionator@gmail.com">destructionator@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">&gt; The problem is that D doesn&#39;t have duck-typing.<br>
<br>
</div>But it does and it has for a long time:<br>
<br>
void func(A)(A a) {<br>
   a.quack();<br>
}<br>
<br>
This new thing looks to me to be more like Go typing (lol?), where objects fulfill<br>
interfaces without explicit templates on the functions nor decorations on the<br>
class. Here&#39;s a name!<br>
<br>
go!IWhatever(myclass)<br>
<br>
hahaha.<br>
</blockquote></div><br></div></div>