>
>
>  Which might be acceptable for some applications. For those where it is not
>> then this feature may not be useful. This is an *optional* declaration,
>> not mandatory - so if it does not suit your purpose -- don't use it.
>>
>
> You are talking about pretty big change in language nature - introducing
> strict typing. "It's just option, don't use it if you don't want" doesn't
> really sound good in this case. If it's in the language, it should make
> sense and sit well with the rest of the language.
>
>
sorry, where would we intrudoc strict typing?
as I mentioned before, the proposed implementation would "sit well with the
rest of the language" in this aspect.
eg. would work the same as the argument type hinting does.

what Alain said, that there would be a possible to use the provided type
information before actually calling the function.
the fact that HipHop can use this information and Zend not (yet, or only for
trivial cases) wouldn't change this fact, or the language itself.

Tyrael

Reply via email to