On 12/4/13 9:29 PM, Benjamin Striegel wrote:
 > 3. *Using inheritance for collection mutability is bad.* Rust doesn't
do it.

Is this an argument against generalizing over mutability at all (as I
believe has been proposed in the past)?

According to the talk it's more of a problem specific to OO-style *inheritance* (which we do have an equivalent to via default methods, but stylistically we don't use it unless it really fits the problem).

Patrick

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

Reply via email to