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

Yes, Swift works this way. Arrays, dictionaries, and sets are value types and cannot be implicitly shared, which eliminates a large class of bugs. It's kind of amazing, isn't it!


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

Search: