Hacker News new | ask | show | jobs
by chousuke 1553 days ago
What's wonderful about rust is that by making ownership explicit and enforced, it enables less experienced people to learn those concepts and confidently use new approaches to write performant software without having to shoot off their own foot learning C or other languages where understanding ownership is necessary but not enforced.

More experienced people will generally be happy to offload ownership tracking to the compiler and save some of their brainpower for other things.

1 comments

> More experienced people will generally be happy to offload ownership tracking to the compiler and save some of their brainpower for other things.

For me, the great benefit here is we can explicitly mark down in the code if a parameter is mutable vs immutable. This is a gain since you know explicitly if what you pass in will be changed or not inside the function.