On 2-Jul-09, at 10:02 AM, Paul Biggar wrote:
On Thu, Jul 2, 2009 at 1:53 PM, Ilia Alshanetsky<i...@ilia.ws> wrote:
Paul's proposal is some part does not make sense because it allows
weak type
hinting, which should not be used if you need type hinting. The
whole idea
about type hinting is definition of strict interfaces, not loosely
based
one. That's just my opinion, which admittedly I feel fairly
strongly about.
No, the idea of type hinting is that you hint to the user about what
type the interface expects. You have implemented "strong type
checking" instead. I wonder that you cannot see the conflict between
the term "type hinting" and "strict interfaces". I would be happier if
you renamed your patch "optional strong scalar type checking", which
is what it is.
That's a fair statement I suppose.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php