Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For me, the reason I like an explicit `.iter()` is because its more refactor-friendly. If I have an existing loop over `&collection` but want to call an iterator method, I have to switch to `collection.iter().enumerate()`.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: