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

That's probably because reassignment is already covered by using `const`.

Of course, it doesn't help that the immutable modifier for Swift is `let`. But also, in Swift, if you assign a list via `let`, the list is also immutable.



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

Search: