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

Copy by default is the right way to go. Even if less performant, it’s safe and super-easy to understand. Let the people that want to squeeze the last drop of performance worry about moves…

Move by default is the thing which complicates Rust so much.



Copy by default wouldn't be so bad if the move was destructive




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

Search: