Re: Multi-Method Dispatch in PHP 5.1?

From: Date: Tue, 20 Apr 2004 20:55:18 +0000
Subject: Re: Multi-Method Dispatch in PHP 5.1?
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-9437@lists.php.net to get a copy of this message
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

« previous php.internals (#9437) next »