On 8/11/11 4:10 PM, Marijn Haverbeke wrote:
I still think this was a good decision. With the exception of the
zip/unzip functions, all the code I touched when removing tuples got
more readable in the process. Pure, abstract pairs / triples of things
are rare. Usually, the fields have clear roles, and it is beneficial
to name them. 'val._0' does not tell you what you're getting, and I
found myself constantly looking up the order of the fields in tuples,
even those returned by functions I wrote myself.

Polymorphic log still seems to want tuples.

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

Reply via email to