On 2014-05-30, at 3:28, comex <[email protected]> wrote:

> On Thu, May 29, 2014 at 8:21 PM, Tommi <[email protected]> wrote:
>> Assuming the programmer knows both the type of the argument and the manner 
>> in which the type of the argument determines which algorithm ends up being 
>> used, then the programmer knows whether the regular or the optimized version 
>> of the algorithm is being used also in the case of `foo` being overloaded.
> 
> If they know that then it should be no problem to be explicit!

If it's explicit, then we're forcing the caller of the function to know that 
different algorithms (with different performance characteristics) exist for 
getting the job done.

Plus, like I said, having no function overloading hinders generic programming.

_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to