I'm going to go with duck on this one. It could be an attractive name to put in reddit/yc titles.. "Can your language duck? D can, with duck!". Plus it's easily greppable and easy to type. And I don't like stuttering words like adaptTo, there's two repeating t's in there *and* I need a shift, that is an outrage!
Not every word in the language/lib has to be dead-serious. :) On 10/16/10, Walter Bright <newshou...@digitalmars.com> wrote: > Lutger wrote: >> Justin Johansson wrote: >> >>> On 16/10/2010 6:30 PM, Christof Schardt wrote: >>>>> auto d = duck!Drawable(c); // awes >>>> What about "as" ? >>>> >>>> auto d = as!Drawable(c); >>>> >>>> Christof >>> This is a totally brilliant suggestion by Christof as >>> anyone who understands the XPath 2.0 type language >>> would tell you also. >>> >>> While finding duck! rather cute, marketing intelligence >>> will confirm that Christof's as! suggestion is the way to go. >>> >>> I feel woeful that I did not think of it myself. Award >>> for naming suggestion definitely goes to Christof. >>> >>> Justin >> >> plus, it's shorter to type. >> >> *ducks* > > Try googling "as for D" >