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

I like the idea of &only as it greatly simplifies an understanding of the borrow checker. However, I think we still need to be able to mark things as immutable for things like rodata stuff, mapped in rom, persistent data structures, etc. And if we're going to be marking mutability, I would prefer immutable to be the default. It probably matters more for function arguments than locals, though.


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

Search: