Good point. Either way the argument against it is even weaker now that
all it has are the scalar and resource types. It is now fully compliant
with PHP's type juggling system. Anyone who disagrees with a "scalar"
hint should probably also disagree with the "array" hint.

On Wed, 2008-02-06 at 01:02 +0200, Tomi Kaistila wrote:
> > No one seems to have answered my point that actually relying on type
> > juggling for anything other than string concatenation is asking for a
> > problem.
> Probably because there isn't a way to answer that point. Anyone who does 
> would 
> be laughed out of the barn. Like I told Sam just few minutes ago, the fact is 
> that no matter how wonderful PHP's juggling is, there is still a reason why 
> we have different data types. If it was all the same we wouldn't need 
> integer, float, et cetera. But we do have them and we do need them.
> 
> The whole objection against this feature was never about the technical merits 
> of it. It was just simply about some people saying "I don't like it" and thus 
> concluding that it should not be added.
> 
> 
> Tomi Kaistila
> PHP Developer
> 

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to