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

Yeah, this. Particularly when you come from a language that is heavy on using references like JS, Python or Java (and probably a good majority of languages with GC), you might get initially hard time with Rust. After I started appreciating pass-by-move, accepted occasional cloning and used references mostly for temporary, short-term borrows, suddenly it all clicked for me. The upside is that this way the code is actually much simpler than a spaghetti of cyclic references I got used to in big Java projects.


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

Search: