Hacker News new | past | comments | ask | show | jobs | submit login

> For anyone scared of Rust or the borrow checker: due to the nature of HTTP services and request flow logic, you almost never bump into it when writing backend Rust.

I’d say for anyone worrying about it just use ‘clone()’ everywhere you can. If you’re coming from any interpreted language the performance and efficiency will just be so much better that it doesn’t matter.




That's an excellent way to get your footing. And you can come back in a month and fix it all easily.


clone(); )?; all that stuff is just meh.


I mean, who thinks using .clone() everywhere is such a good idea?


It's a suggestion for beginners writing their first Rust program. You wouldn't do this once you feel comfortable with the language.


They might end up with a bad habit, however.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: