Re:(Rust) All-Hands 2026 Retrospective
by dnautics on Sunday August 02, 2026 @10:03PM
(#49150405)
i think rusts composition is problematic. you can have two abstractions that if you mix them the outcomes are not what you expect unless you have a deep understanding of the details, (e.g. clone/iter) and rust is all about hiding details from you.
[ Parent
| on HN ]
Re:(Rust) All-Hands 2026 Retrospective
by insanitybit on Sunday August 02, 2026 @10:06PM
(#49150414)
I really couldn't disagree more. Rust doesn't hide those details at all. APIs tend to be extremely explicit. I have never run into the issue you're describing in rust, I have run into it far more in other languages where mutability and sharing are implicit.
the existence of iter is to hide implementation detsils from you.
Re:(Rust) All-Hands 2026 Retrospective
by insanitybit on Monday August 03, 2026 @08:16AM
(#49154740)
I don't understand what you mean at all. Iter is just a trait. There's nothing special about it.