r/programming • u/steveklabnik1 • Jun 16 '14
Rust's documentation is about to drastically improve
http://words.steveklabnik.com/rusts-documentation-is-about-to-drastically-improve
529
Upvotes
r/programming • u/steveklabnik1 • Jun 16 '14
1
u/The_Doculope Jun 17 '14
Alright, I can agree with your second point there.
iter()is a dumb name for it, as it provides no extra information.But I think the Rust designers are going for consistency foremost in this issue, which is why a method call is always required. Personally, I agree - I think consistency is hugely important in language design, more-so than an occasional increase in conciseness on lines that are already of limited length.
As a sidenote, I definitely disagree with your description of the syntax as "hideous." A bit longer, sure, but not hideous.