Sebastian Bergmann wrote:
  Since we introduce class type hints in PHP 5.0 I think it would be a
  good thing [tm] to add multi-method dispatch in PHP 5.1.

Actually I think multi-method dispatching for PHP is A Bad Thing[tm].


Multi-method dispatching is necessary for statically checked, inflexible languages without default parameters like Java. PHP has other means of handling the most common problems this tries to solve and having two methods of the same name is more confusing than helping IMHO.

PINJ,
- Chris

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



Reply via email to