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

You are borrowing the entire list. That’s fine. The problem occurs if you borrow a reference into the list. Java/C# solve this by making that operation impossible. You cannot hold a reference into a vector/list


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

Search: