duck!

Steven Schveighoffer schveiguy at yahoo.com
Sat Oct 16 14:05:23 PDT 2010


On Sat, 16 Oct 2010 16:31:34 -0400, Walter Bright  
<newshound2 at digitalmars.com> wrote:

> If I google for "adapt for D" I'll get a hopeless mess of irrelevant  
> links. "duck typing for D" should be much better. Remember that google  
> ranks pages by relevance, and searching for "duck" will give higher  
> ranking for pages with "duck" in the url, title, headings, etc. That's  
> just what we want.

And it should come up with the page on digitalmars.com titled 'duck typing  
in D' which describes how to use templates or the adaptTo type to achieve  
duck typing.

-Steve


More information about the Digitalmars-d mailing list