On 11-11-29 03:43 PM, David Herman wrote:
On Nov 29, 2011, at 3:11 PM, Graydon Hoare wrote:

On 11-11-29 12:00 PM, Niko Matsakis wrote:

I like that this allows the user to customize how types can be copied,
logged, and sent.

I don't. It's in conflict with predictability and the guarantees the language 
is trying to make for its users' mental models.

I don't see any evidence of this claim. These are still totally statically 
predictable, and not only that, the client can control which implementations 
they want to use by means of scope.

"Customize" and "predictable" are, in general, opposites. If custom code might be invoked as part of an operation, the reader has to go read the custom code to figure out what it does.

I have the exact same objection to operator overloading and several other dimensions along which extensibility may be offered. I think too much extensibility is not a good thing.

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

Reply via email to