<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I'd get used to Jimmy!, and thats a nice name 
too.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV>"Jimmy Cao" &lt;<A 
  href="mailto:jcao219@gmail.com">jcao219@gmail.com</A>&gt; wrote in message <A 
  href="news:mailman.635.1287179560.858.digitalmars-d@puremagic.com">news:mailman.635.1287179560.858.digitalmars-d@puremagic.com</A>...</DIV>It 
  doesn't matter if it sounds unintuitive to you right now,
  <DIV>eventually if you keep using it, the word will stick.</DIV>
  <DIV>duck! is a nice name, so I'm fine with the idea.<BR><BR>
  <DIV class=gmail_quote>On Fri, Oct 15, 2010 at 4:46 PM, JimBob <SPAN 
  dir=ltr>&lt;<A href="mailto:jim@bob.com">jim@bob.com</A>&gt;</SPAN> wrote:<BR>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
    <DIV class=im><BR>"Andrei Alexandrescu" &lt;<A 
    href="mailto:SeeWebsiteForEmail@erdani.org">SeeWebsiteForEmail@erdani.org</A>&gt; 
    wrote in message<BR>news:i9ae2n$k9g$1@digitalmars.com...<BR></DIV>
    <DIV>
    <DIV></DIV>
    <DIV class=h5>&gt;I was talking to Walter about Kenji's adaptTo. We both 
    think it's a very<BR>&gt;powerful enabler, but adaptTo is a bland name. 
    After discussing a few<BR>&gt;marketing strategies, I proposed "duck". It's 
    short, simple, and evokes<BR>&gt;"duck typing".<BR>&gt;<BR>&gt; class 
    C<BR>&gt; {<BR>&gt; &nbsp; &nbsp; int draw(){ return 10; }<BR>&gt; }<BR>&gt; 
    interface Drawable<BR>&gt; {<BR>&gt; &nbsp; &nbsp; long draw();<BR>&gt; 
    }<BR>&gt; ...<BR>&gt; auto c = new C;<BR>&gt; auto d = duck!Drawable(c); // 
    awes<BR>&gt;<BR>&gt; Kenji, I'll be looking forward to your submission :o). 
    Would be great to<BR>&gt; allow structs to duck, 
    too!<BR><BR></DIV></DIV>duck doesnt convey much meaning imo so.. why not 
    "adapt!"<BR><BR>Ties in with the Adaptor design pattern.. which i'm guessing 
    is what it<BR>actualy 
does.<BR><BR><BR></BLOCKQUOTE></DIV><BR></DIV></BLOCKQUOTE></BODY></HTML>