Re: RFC: Protocol Type Hinting

From: Date: Wed, 26 Jun 2013 15:03:18 +0000
Subject: Re: RFC: Protocol Type Hinting
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Robert,


On Wed, Jun 26, 2013 at 10:52 AM, Robert Stoll <[email protected]> wrote:

> I had a quick look at GO and as far as I understand they do not use duck
> typing but a structural type system.
> http://golang.org/doc/faq#implements_interface
>
> Please change this in your RFC to avoid misunderstandings.


Great idea. I'll update the RFC and code to call it "structural typing"
instead of protocol. A much better term...

Thanks!


Thread (50 messages)

« previous php.internals (#67881) next »