On Tue, May 06, 2008 at 08:20:40PM +0200, TSa wrote:
> John M. Dlugosz wrote:
>> In C++, which must be resolved at compile time, the overloading resolution
>> mechanism demands that =every= parameter be at least as good of a match,
>> and one strictly better match. So the implementation never guesses if
>> worse-left/better-right is a better fit than better-left/worse-right.
>> However, you are assured that everything is brought to your attention at
>> program build time, before run time, so complaining is not as serious as a
>> run-time error where you might prefer DWIM.
> Perl 6 is the same, just at runtime with actual types of actual objects.
> That's it.
Indeed, Perl 6 threw out Manhattan distance a couple years ago. Do we
have to spec everything that Perl 6 ever was but isn't now? :)