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

It's not exactly rare to avoid mutability/use a functional style in application code, and even in mutable code, IME aliasing is rare. In some ways Rust's rules are kind of a formalization of what was already good practice in C. Variable scope is also usually small. Turns out things that are easier for the computer to analyze are also easier for people to analyze, so it's long been good practice to structure your code in easy to analyze ways.


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

Search: