wrap/unwrap vs Go-style duck typing

Nicolas Sicard dransic at gmail.com
Sat Oct 26 15:33:43 PDT 2013


On Saturday, 26 October 2013 at 15:08:23 UTC, Andrei Alexandrescu 
wrote:
> On 10/26/13 7:55 AM, Nicolas Sicard wrote:
>> On Saturday, 26 October 2013 at 14:39:31 UTC, Martin Nowak 
>> wrote:
>>> On 10/25/2013 07:46 AM, Andrei Alexandrescu wrote:
>>>> Hello,
>>>>
>>>> I was curious how our fledgling wrap and unwrap routines 
>>>> compare with
>>>> Go's duck typing - similarities, distinctions, performance. 
>>>> Please share
>>>> any thoughts, thanks!
>>>>
>
> I wonder whether specifying "Go-style wrap/unwrap" would be a 
> fair characterization when announcing 2.064.
>

Since Go's "duck typing" is implicit and automatic, and 
highlighted as such, "Go-style wrap/unwrap" sounds a bit 
paradoxical... What about "wrap/unwrap for Go-style structural 
typing"?

Nicolas


More information about the Digitalmars-d mailing list