duck!

abram abramw901 at no_robots.net
Sat Oct 16 23:11:01 PDT 2010


Andrei Alexandrescu wrote:
> On 10/16/2010 12:38 PM, Steven Schveighoffer wrote:
>> On Sat, 16 Oct 2010 13:19:36 -0400, Andrei Alexandrescu
>> <SeeWebsiteForEmail at erdani.org> wrote:
>>
>>> The problem with "adaptTo" is that, just like itoa or printf, it is
>>> too boring to have marketing value.
>>
>> Wait, really? This statement has no place in a programming language
>> decision IMO. Nobody is going to start using D because it has a
>> function *named* duck.
>>
>> Let's change writef to shazam! Let's call File BitLocker! And 'to'
>> really should be called transformationVehicle!
>
> I think ducktype is an important feature of D. I want to give it a
> name that is correspondingly resounding. The likes of files, writef,
> and conversions are commonplace. That's all.
>

Sounds like an epitaph! 




More information about the Digitalmars-d mailing list